XInput 'use' values not listed in spec
There are two values for the XDeviceInfo.use property that are used in the modern X.org server, but are not defined in the spec. They are:
Code:
3: IsXExtensionKeyboard |
Hi Paladin,
From the MPX page: http://wearables.unisa.edu.au/mpx/ ...in addition, the XDeviceInfo also contains a "use" field, which is of some importance. The use field can have one of 5 values: * IsXPointer for any master pointer (i.e. cursor). * IsXKeyboard for any master keyboard (i.e. keyboard focus) * IsXExtensionPointer for any physical pointer device. * IsXExtensionKeyboard for any physical keyboard device. * IsXExtensionDevice for any physical device that is neither pointer nor keyboard (this is fairly uncommon). I use XFree86 which seems to do it a little differently (you check for IsXExtensionDevice then check the name field) so I can't verify how much of this applies to X.org. Cheers, Steve |
All times are GMT -5. The time now is 06:51 PM. |