diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-05 08:50:20 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-05 08:53:39 +1000 |
commit | 936f4993a9ece131aff03cf789b8c21cadaed47e (patch) | |
tree | 4503ffa4e3c0c0bc79c0660744accdcbfe1d8c81 /man | |
parent | bc3900ea706438005f8b5613de4d9fb6bd954f62 (diff) |
man: correct XListInputDevices description of the name field.
A device's name is the identifier set either by the server the
xorg.conf/HAL. The preconfigured device types (XI_MOUSE, XI_KEYBOARD, etc.)
are atoms listed in the type field only.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man')
-rw-r--r-- | man/XListInputDevices.txt | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/man/XListInputDevices.txt b/man/XListInputDevices.txt index aca1df9..276660d 100644 --- a/man/XListInputDevices.txt +++ b/man/XListInputDevices.txt @@ -85,23 +85,22 @@ DESCRIPTION by the server. The type field is of type Atom and indicates the nature of the - device. - - The name field contains a pointer to a null-terminated string - that corresponds to one of the defined device types. The name - will correspond to one of the following strings (defined in the - header file XI.h: + device. The type will correspond to one of the following strings + (defined in the header file XI.h): XI_MOUSE XI_TABLET XI_KEYBOARD XI_TOUCHSCREEN XI_TOUCHPAD XI_BUTTONBOX XI_BARCODE XI_TRACKBALL XI_QUADRATURE XI_ID_MODULE XI_ONE_KNOB XI_NINE_KNOB XI_KNOB_BOX XI_SPACEBALL XI_DATAGLOVE XI_EYETRACKER XI_CURSORKEYS XI_FOOTMOUSE XI_JOYSTICK - These names may be directly compared with the name field of the - XDeviceInfo structure, or used in an XInternAtom request to - return an atom that can be compared with the type field of the + These strings may be used in an XInternAtom request to return + an atom that can be compared with the type field of the XDeviceInfo structure. + The name field contains a pointer to a null-terminated string + that serves as identifier of the device. This identifier may be + user-configured or automatically assigned by the server. + The num_classes field is a number in the range 0-255 that specifies the number of input classes supported by the device for which information is returned by ListInputDevices. Some |