Source position: xinput2.pp line 454
function XISelectEvents(
dpy: PDisplay;
win: TWindow;
masks: PXIEventMask;
num_masks: cint
):cint;