dix: update comments about inputInfo.pointer.

This commit is contained in:
Peter Hutterer 2007-12-04 19:09:37 +10:30
parent f44d7dcb5f
commit 447cd5d411

View File

@ -237,24 +237,21 @@ static int DontPropagateRefCnts[DNPMCOUNT];
* inputInfo.pointer * inputInfo.pointer
* is the core pointer. Referred to as "virtual core pointer", "VCP", * is the core pointer. Referred to as "virtual core pointer", "VCP",
* "core pointer" or inputInfo.pointer. There is exactly one core pointer, * "core pointer" or inputInfo.pointer. There is exactly one core pointer,
* but multiple devices may send core events. The VCP is only used if no * but multiple devices may send core events. The VCP is the first master
* physical device is connected and does not have a visible cursor. * pointer device and cannot be deleted.
* Before the integration of MPX, any core request would operate on the
* VCP/VCK. Core events would always come from one of those two. Now both
* are only fallback devices if no physical devices are available.
* *
* inputInfo.keyboard * inputInfo.keyboard
* is the core keyboard ("virtual core keyboard", "VCK", "core keyboard"). * is the core keyboard ("virtual core keyboard", "VCK", "core keyboard").
* See inputInfo.pointer. * See inputInfo.pointer.
* *
* inputInfo.devices * inputInfo.devices
* linked list containing all devices BUT NOT INCLUDING VCK and VCP. * linked list containing all devices including VCP and VCK.
* *
* inputInfo.off_devices * inputInfo.off_devices
* Devices that have not been initialized and are thus turned off. * Devices that have not been initialized and are thus turned off.
* *
* inputInfo.numDevices * inputInfo.numDevices
* Total number of devices (not counting VCP and VCK). * Total number of devices.
*/ */
_X_EXPORT InputInfo inputInfo; _X_EXPORT InputInfo inputInfo;