Source position: xinput.pp line 1062
function XQueryDeviceState(
display: PDisplay;
device: PXDevice
):PXDeviceState;