Types
XEventClass = int32
XExtensionVersion {.final.} = object present*: int16 major_version*: int16 minor_version*: int16
Consts
Absolute = 1
AddToList = 0
AsyncAll = 4
AsyncThisDevice = 0
ButtonClass = 1
COUNT = 0
CREATE = 1
DeleteFromList = 1
deviceButtonGrab = 7
DeviceMode = 1
Dont_Check = 0
DontSendCoreEvents = 60
DvAccelDenom = 2
DvAccelNum = 1
DvAutoRepeatMode = 128
DvDuration = 8
DvInteger = 1
DvKey = 64
DvLed = 16
DvLedMode = 32
DvPercent = 2
DvPitch = 4
DvString = 1
DvThreshold = 4
FeedbackClass = 3
FocusClass = 5
FollowKeyboard = 3
INAME = "XInputExtension"
InProximity = 0
IsXKeyboard = 1
IsXPointer = 0
KbdFeedbackClass = 0
KeyClass = 0
LedFeedbackClass = 4
libXi = "libXi.so(|.6)"
NewKeyboard = 1
NewPointer = 0
noExtensionEvent = 9
NoSuchExtension = 1
OtherClass = 6
OutOfProximity = 2
ProximityClass = 4
ProximityState = 2
PtrFeedbackClass = 1
Relative = 0
ReplayThisDevice = 2
SendCoreEvents = 59
SyncAll = 5
SyncThisDevice = 1
sz_xGrabDeviceKeyReq = 20
sz_xGrabDeviceReply = 32
sz_xGrabDeviceReq = 20
sz_xOpenDeviceReply = 32
sz_xUngrabDeviceReq = 12
TS_Raw = 57
TS_Scaled = 58
UseXKeyboard = 0x000000FF
ValuatorClass = 2
XI_Absent = 0
XI_BadClass = 4
XI_BadDevice = 0
XI_BadEvent = 1
XI_BadMode = 2
XI_BARCODE = "BARCODE"
XI_BUTTONBOX = "BUTTONBOX"
XI_CURSORKEYS = "CURSORKEYS"
XI_DATAGLOVE = "DATAGLOVE"
XI_DeviceBusy = 3
XI_EYETRACKER = "EYETRACKER"
XI_FOOTMOUSE = "FOOTMOUSE"
XI_ID_MODULE = "ID_MODULE"
XI_KEYBOARD = "KEYBOARD"
XI_KNOB_BOX = "KNOB_BOX"
XI_MOUSE = "MOUSE"
XI_NINE_KNOB = "NINE_KNOB"
XI_ONE_KNOB = "ONE_KNOB"
XI_Present = 1
XI_QUADRATURE = "QUADRATURE"
XI_SPACEBALL = "SPACEBALL"
XI_TABLET = "TABLET"
XI_TOUCHPAD = "TOUCHPAD"
XI_TOUCHSCREEN = "TOUCHSCREEN"
XI_TRACKBALL = "TRACKBALL"
XKEYBOARD = 1
XPOINTER = 0