1xinput(1)                   General Commands Manual                  xinput(1)
2
3
4

NAME

6       xinput - utility to configure and test X input devices
7
8

SYNOPSIS

10       xinput [OPTIONS] [DEVICE]
11
12

DESCRIPTION

14       xinput  is a utility to list available input devices, query information
15       about a device and change input device settings.
16

OPTIONS

18       --version
19               Test if the X Input extension is available and return the  ver‐
20               sion  number  of  the  program and the version supported by the
21               server. This option does not require a device name.
22
23       --list [--short || --long] [device]
24               If no argument is given list all the input devices. If an argu‐
25               ment  is  given, show all the features of device.  If --long is
26               provided, the output includes detailed  information  about  the
27               capabilities  of each devices. Otherwise, or if --short is pro‐
28               vided, only the device names and some  minimal  information  is
29               listed.
30
31       --get-feedbacks device
32               Display the feedbacks of device.
33
34       --set-pointer device
35               Switch  device  in core pointer.  This option does nothing on X
36               servers 1.5 and later.
37
38       --set-mode device ABSOLUTE|RELATIVE
39               Change the mode of device.
40
41       --set-ptr-feedback device threshold num denom
42               Change the pointer acceleration  (or  feedback)  parameters  of
43               device.   The  xset(1)  man  page  has  more details. For X.Org
44               Server 1.7 and above, there are  additional  device  properties
45               pertaining  to  pointer acceleration. These do not replace, but
46               complement the pointer feedback setting.
47
48       --set-integer-feedback device index value
49               Change the value of an integer feedback of device.
50
51       --set-button-map device map_button_1 [map_button_2 [...]]
52               Change the button mapping of device. The buttons are  specified
53               in  physical  order  (starting with button 1) and are mapped to
54               the logical button provided. 0 disables a button.  The  default
55               button mapping for a device is 1 2 3 4 5 6 etc.
56
57       --query-state device
58               Query the device state.
59
60       --list-props device [device [...]]
61               Lists properties that can be set for the given device(s).
62
63       --set-int-prop device property format value
64               Sets  an  integer  property for the device.  Appropriate values
65               for format are 8, 16, or 32, depending on the property.  Depre‐
66               cated, use --set-prop instead.
67
68       --set-float-prop device property value
69               Sets  a  float  property for the device. Deprecated, use --set-
70               prop instead.
71
72       --set-prop [--type=atom|float|int] [--format=8|16|32]  device  property
73       value [...]
74               Set  the property to the given value(s).  If not specified, the
75               format and type of the property are left as-is.  The  arguments
76               are interpreted according to the property type.
77
78       --watch-props device
79               Prints to standard out when property changes occur.
80
81       --delete-prop device property
82               Delete the property from the device.
83
84       --test [-proximity] device
85               Register  all  extended events from device and enter an endless
86               loop displaying events received. If the  -proximity  is  given,
87               ProximityIn and ProximityOut are registered.
88
89       --test_xi2
90               Register  for  a  number  of  XI2 events and display them. This
91               option does not take a device argument.
92
93       --create-master prefix [sendCore] [enable]
94               Create a new pair of master devices on  an  XI2-enabled  server
95               with  the  given  prefix.  The  server  will  create one master
96               pointer named "prefix pointer" and one  master  keyboard  named
97               "prefix  keyboard".   If  sendCore  is  1,  this pair of master
98               devices is set to send core events (default).  If enable is  1,
99               this master device pair will be enabled immediately (default).
100
101       --remove-master    master   [Floating|AttachToMaster]   [returnPointer]
102       [returnKeyboard]
103               Remove master  and its paired  master  device.  Attached  slave
104               devices  are set floating if Floating is specified or the argu‐
105               ment is omitted.  If the  second  argument  is  AttachToMaster,
106               returnPointer  specifies the master pointer to attach all slave
107               pointers to and returnKeyboard specifies the master keyboard to
108               attach all slave keyboards to.
109
110       --reattach slave master
111               Reattach slave to master.
112
113       --float slave
114               Remove slave from its current master device.
115
116       --set-cp window master
117               Set  the  ClientPointer for the client owning window to master.
118               master must specify a master pointer.
119
120       device can be the device name as a string or the XID of the device.
121
122       slave can be the device name as a string or the XID of a slave device.
123
124       master can be the device name as a  string  or  the  XID  of  a  master
125       device.
126
127       property can be the property as a string or the Atom value.
128

SEE ALSO

130       X(7), xset(1)
131
133       Copyright 1996,1997, Frederic Lepied.
134
135       Copyright 2008, Philip Langdale.
136
137

AUTHORS

139       Philip Langdale, <philipl@alumni.utexas.net>
140       Frederic Lepied, France <Frederic.Lepied@sugix.frmug.org>
141       Peter Hutterer <peter.hutterer@who-t.net>
142       Julien Cristau <jcristau@debian.org>
143       Thomas Jaeger <ThJaeger@gmail.com>
144       and more.
145
146
147
148X Version 11                     xinput 1.5.2                        xinput(1)
Impressum