summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorUlf Brosziewski <bru@cvs.openbsd.org>2023-07-02 21:44:05 +0000
committerUlf Brosziewski <bru@cvs.openbsd.org>2023-07-02 21:44:05 +0000
commit54b2bf92bd107ecf4154b4d436c23cf265ba1289 (patch)
tree7074735e1c9c83b65b997d96b8875ce281551996 /share
parente9d425bbe4989fcae33ff7295ab4b97a57d39723 (diff)
Add button mappings for two- and three-finger clicks on clickpads.
Based on a proposal of tobhe@. ok tobhe@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/wsmouse.48
1 files changed, 6 insertions, 2 deletions
diff --git a/share/man/man4/wsmouse.4 b/share/man/man4/wsmouse.4
index 9dae08eb1c4..549d52e51a2 100644
--- a/share/man/man4/wsmouse.4
+++ b/share/man/man4/wsmouse.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wsmouse.4,v 1.22 2021/03/04 17:03:42 jmc Exp $
+.\" $OpenBSD: wsmouse.4,v 1.23 2023/07/02 21:44:04 bru Exp $
.\" $NetBSD: wsmouse.4,v 1.3 1999/12/06 14:52:08 augustss Exp $
.\"
.\" Copyright (c) 2018 Ulf Brosziewski <bru@openbsd.org>
@@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 4 2021 $
+.Dd $Mdocdate: July 2 2023 $
.Dt WSMOUSE 4
.Os
.Sh NAME
@@ -106,6 +106,10 @@ If, within a short time interval, a second touch follows a tap gesture
mapped to a left-button click, the button-up event is not issued
until that touch ends
.Pq Dq tap-and-drag .
+.It Cm mouse.tp.mtbuttons
+This feature is supported for some clickpads.
+If enabled, two-finger clicks - with the fingers side by side - generate
+left-button events, and three-finger clicks generate middle-button events.
.It Cm mouse.tp.scaling
The value is a scale coefficient that is applied to the relative
coordinates.