summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-02-03 14:51:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-03 15:07:55 +1000
commit766c0064f825c363eb5aa6ed6d944ebdae950e0e (patch)
treebfdad53574e7d228aac87d3899822f0d56863903 /man
parent6360f166c2b9d61b2a0ef4624e6dd0a799da9e04 (diff)
downloadxf86-input-wacom-766c0064f825c363eb5aa6ed6d944ebdae950e0e.tar.gz
xsetwacom: simplify code for Button mappings.
This changes the user interface. Instead of xsetwacom set Button1 ... it's now xsetwacom set Button 1 ... (note the space) Other than that, functionality stays the same. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Ping Cheng <pinglinux@gmail.com>
Diffstat (limited to 'man')
-rw-r--r--man/xsetwacom.man9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/xsetwacom.man b/man/xsetwacom.man
index 1194b58..c7e41e5 100644
--- a/man/xsetwacom.man
+++ b/man/xsetwacom.man
@@ -92,6 +92,15 @@ device's native orientation, regardless of the actual rotation currently
applied. Input outside of these coordinates will be clipped
to the edges of the area defined.
.TP
+\fBButton\fR button-number [mapping]
+Get or set the specified button. The mapping may be a button number to map
+the physical button to. e.g. a mapping of button 1 to 3 means
+a button 1 press will be interpreted as right click. Alternatively, a
+mapping in the form of "key +a +shift b -shift -a" converts the button into a series
+of keystrokes, in this example "press a, press shift, press and release b,
+release shift, release a". Such key mappings need to be reapplied whenever
+the keyboard layout changes.
+.TP
\fBMapToOutput\fR output
Map the tablet's input area to the given output (e.g. "VGA1"). The output
must specify one of those available through the XRandR extension. A list of