XGetDeviceMotionEvents

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (C) extern
XGetDeviceMotionEvents
(,,
Time
,
Time
,
int*
,
int*
,
int*
)

Meta