An XDevice structure is returned by the XOpenDevice function.
It contains an array of pointers to XInputClassInfo structures.
Each contains information about a class of input supported by the
device, including a pointer to an array of data for each type of event
the device reports.
An XDevice structure is returned by the XOpenDevice function. It contains an array of pointers to XInputClassInfo structures. Each contains information about a class of input supported by the device, including a pointer to an array of data for each type of event the device reports.