From 936f4993a9ece131aff03cf789b8c21cadaed47e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 5 Aug 2009 08:50:20 +1000 Subject: 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 --- man/XListInputDevices.txt | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'man/XListInputDevices.txt') 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 -- cgit v1.2.3