Source position: xinput.pp line 1048
function XGetDeviceButtonMapping(
display: PDisplay;
device: PXDevice;
map: Pcuchar;
nmap: cuint
):cint;