These requests are provided to manipulate those input devices that support device control. A
BadMatch error will be generated if the requested device does not support any device controls.Valid device control types that can be used with these requests include the following:
DEVICE_RESOLUTION
Queries or changes the resolution of valuators on input devices.
The XGetDeviceControl request returns a pointer to an XDeviceControl structure.
XGetDeviceControl can generate a BadDevice or BadMatch error.
The XChangeDeviceControl request modifies the values of one control on the specified device. The control is identified by the id field of the XDeviceControl structure that is passed with the request.
XChangeDeviceControl can generate a BadDevice, BadMatch, or BadValue error.