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