summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-04-20 13:58:03 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-22 07:56:31 +1000
commite7cd0436689b54d14e05a601e426cd600994db89 (patch)
treefcc1dd376dd3857cefeed8963f4f76410323675d /man
parent167034ba2798fbe34abf4748068ae480e45bfe13 (diff)
xinput: add set-prop command
There's no reason to require the user to know the difference between set-int-prop, set-float-prop and set-atom-prop, and to know the required format for each integer property, since we can just ask XGetDeviceProperty. Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man')
-rw-r--r--man/xinput.man6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/xinput.man b/man/xinput.man
index eeee7b9..104cafb 100644
--- a/man/xinput.man
+++ b/man/xinput.man
@@ -69,6 +69,12 @@ are 8, 16, or 32, depending on the property.
Sets a float property for the device.
.PP
.TP 8
+.B xinput set-prop \fIdevice_name\fP \fIproperty\fP \fIvalue\fP
+Set the property to the given value(s). The format and type of the property
+are left as-is and the arguments are interpreted according to the property
+type. This argument can only be used to modify existing properties.
+.PP
+.TP 8
.B xinput watch-props \fIdevice_name\fP
Prints to standard out when property changes occur.
.PP