1 .TH xinput 1 __xorgversion__
4 xinput - utility to configure and test X input devices
7 .B xinput [OPTIONS] [DEVICE]
10 xinput is a utility to list available input devices, query information about
11 a device and change input device settings.
15 Test if the X Input extension is available and return the version number
16 of the program and the version supported by the server. This option does not
17 require a device name.
20 .B --list [--short || --long] [\fIdevice\fP]
21 If no argument is given list all the input devices. If an argument is given,
22 show all the features of \fIdevice\fP. Uses XListInputDevices(3).
23 If --long is provided, the output includes detailed information about the
24 capabilities of each devices. Otherwise, or if --short is provided, only the
25 device names and some minimal information is listed.
28 .B --get-feedbacks \fIdevice\fP
29 Display the feedbacks of \fIdevice\fP.
32 .B --set-pointer \fIdevice\fP
33 Switch \fIdevice\fP in core pointer.
34 This option does nothing on X servers 1.5 and later.
37 .B --set-mode \fIdevice\fP \fIABSOLUTE|RELATIVE\fP
38 Change the mode of \fIdevice\fP.
41 .B --set-ptr-feedback \fIdevice\fP \fIthreshold\fP \fInum\fP \fIdenom\fP
42 Change the acceleration of \fIdevice\fP.
45 .B --set-integer-feedback \fIdevice\fP \fIindex\fP \fIvalue\fP
46 Change the value of an integer feedback of \fIdevice\fP.
49 .B --set-button-map \fIdevice\fP \fImap_button_1\fP [\fImap_button_2\fP [\fI...\fP]]
50 Change the button mapping of \fIdevice\fP. The buttons are specified in
51 physical order (starting with button 1) and are mapped to the logical button
52 provided. 0 disables a button. The default button mapping for a device is 1
56 .B --query-state \fIdevice\fP
57 Query the device state.
60 .B --list-props \fIdevice\fP [\fIdevice\fP [\fI...\fP]]
61 Lists properties that can be set for the given device(s).
64 .B --set-int-prop \fIdevice\fP \fIproperty\fP \fIformat\fP \fIvalue\fP
65 Sets an integer property for the device. Appropriate values for \fIformat\fP
66 are 8, 16, or 32, depending on the property. Deprecated, use
71 .B --set-float-prop \fIdevice\fP \fIproperty\fP \fIvalue\fP
72 Sets a float property for the device. Deprecated, use
77 .B --set\-prop [\-\-type=\fIatom|float|int\fP] [\-\-format=\fI8|16|32\fP] \fIdevice\fP \fIproperty\fP \fIvalue\fP [...]
78 Set the property to the given value(s). If not specified, the format and type
79 of the property are left as-is. The arguments are interpreted according to the
83 .B --watch-props \fIdevice\fP
84 Prints to standard out when property changes occur.
87 .B --delete-prop \fIdevice\fP \fIproperty\fP
88 Delete the property from the device.
91 .B --test [-proximity] \fIdevice\fP
92 Register all extended events from \fIdevice\fP and enter an endless
93 loop displaying events received. If the -proximity is given, ProximityIn
94 and ProximityOut are registered.
98 Register for a number of XI2 events and display them. This option does not
99 take a device argument.
101 \fIdevice\fP can be the device name as a string or the XID of the
104 \fIproperty\fP can be the property as a string or the Atom value.
108 Copyright 1996,1997, Frederic Lepied.
110 Copyright 2008, Philip Langdale.
115 Philip Langdale, <philipl@alumni.utexas.net>
116 Frederic Lepied, France <Frederic.Lepied@sugix.frmug.org>
117 Peter Hutterer <peter.hutterer@who-t.net>
118 Julien Cristau <jcristau@debian.org>
119 Thomas Jaeger <ThJaeger@gmail.com>