Retrieving information
|
GetID
|
Get the unique device ID.
|
|
GetDescription
|
Get a description of this device, i.e. the capabilities.
|
Key mapping
|
GetKeymapEntry
|
Fetch one entry from the keymap for a specific hardware keycode.
|
Event buffers
|
CreateEventBuffer
|
Create an event buffer for this device and attach it.
|
|
AttachEventBuffer
|
Attach an existing event buffer to this device.
|
|
DetachEventBuffer
|
Detach an event buffer from this device.
|
General state queries
|
GetKeyState
|
Get the current state of one key.
|
|
GetModifiers
|
Get the current modifier mask.
|
|
GetLockState
|
Get the current state of the key locks.
|
|
GetButtons
|
Get a mask of currently pressed buttons.
|
|
GetButtonState
|
Get the state of a button.
|
|
GetAxis
|
Get the current value of the specified axis.
|
Specialized queries
|
GetXY
|
Utility function combining two calls to GetAxis().
|