struct to encapsulate a response from an XID device More...
#include <xid_device_t.h>
Public Attributes | |
int | port |
port the response came from. | |
int | button |
button pressed. | |
bool | pressed |
whether or not a button was pressed | |
int | reaction_time |
reaction time | |
cedrus::key_state | key_state |
key state. |
struct to encapsulate a response from an XID device
Definition at line 53 of file xid_device_t.h.
key state.
NO_KEY_DETECTED, FOUND_KEY_UP, or FOUND_KEY_DOWN
Definition at line 78 of file xid_device_t.h.
whether or not a button was pressed
Definition at line 68 of file xid_device_t.h.
reaction time
Definition at line 73 of file xid_device_t.h.