The minimum keycode will not be smaller than 8. It specifies the maximum keycode that the device will report. The maximum keycode will not be larger than 255. The XButtonInfo structure defines the characteristics of the buttons on the device. The XValuatorInfo structure defines the characteristics of the valuators on the device.
Some devices allow the mode to be changed dynamically via the SetDeviceMode request.
The axes field contains a pointer to an XAxisInfo structure. To free the XDeviceInfo array created by XListInputDevices , use XFreeDeviceList .