This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



xinput(1)                                                                                          xinput(1)



NAME
       xinput - utility to configure and test XInput devices


SYNOPSIS
       xinput [version] [list [device_name]] [set-pointer device_name] [get-feedbacks device_name] [set-mode
       device_name ABSOLUTE|RELATIVE] [set-ptr-feedback device_name threshold num denom]  [set-integer-feed-back [set-integer-feedback
       back device_name index value] [set-button-map device_name map button 1 [map button 2 [...]]]  [query-state [querystate
       state device_name] [test [-proximity] device_name]


DESCRIPTION
       xinput version
               test if the XInput extension is available and return the version number of the program.


       xinput list [device_name]
               If no argument is given list all the input devices showing all their features. If an argument
               is given, show all the feature of device_name.  Uses XListInputDevices(3).


       xinput get-feedbacks device_name
               Display the feedbacks of device_name. Uses XGetFeedbackControl(3).


       xinput set-pointer device_name
               Switch device_name in core pointer. Uses XChangePointerDevice(3).


       xinput set-mode device_name ABSOLUTE|RELATIVE
               Change the mode of device_name. Uses XSetDeviceMode(3).


       xinput set-ptr-feedback device_name threshold num denom
               Change the acceleration of device_name. Uses XChangeFeedbackControl(3).


       xinput set-integer-feedback device_name index value
               Change the value of an integer feedback of device_name. Uses XChangeFeedbackControl(3).


       xinput set-button-map device_name map button 1 [map button 2 [...]]
               Change the button mapping of device_name. Uses XSetDeviceButtonMapping(3).


       xinput query-state device_name
               Query the device state. Uses XQueryDeviceState(3).


       xinput list-props device_name [device_name...]
               Lists properties that can be set for the given device(s).


       xinput set-int-prop device_name property format value
               Sets  an  integer  property  for the device.  Appropriate values for format are 8, 16, or 32,
               depending on the property.


       xinput watch-props device_name
               Prints to standard out when property changes occur.


       xinput delete-prop device_name property
               Delete the property from the device.



       xinput test [-proximity] device_name
               Register all extended events from device_name and enter an  endless  loop  displaying  events
               received. If the -proximity is given, ProximityIn and ProximityOut are registered.

       device_name can be the device name as a string or the XID of the device.

       property can be the property as a string or the Atom value.



COPYRIGHT
       Copyright 1996,1997, Frederic Lepied.

       Copyright 2008, Philip Langdale.


AUTHOR
       Philip Langdale, <philipl@alumni.utexas.net>
       Frederic Lepied, France <Frederic.Lepied@sugix.frmug.org>

       Patches, bug reports, and suggestions are welcome.



Frederic Lepied                         $Date: 1997/06/09 16:06:31 $                               xinput(1)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...