Header for common data structures and definitions. More...
Go to the source code of this file.
Classes | |
struct | NexEvent |
Structure describing a generic event. Use the NexEventType to determine event data format. More... | |
struct | NexMouseInfo |
Structure representing a mouse's information. More... | |
struct | NexKeyboardInfo |
Structure representing a keyboard's information. More... | |
Defines | |
#define | NEX_NAME_MAX 128 |
Maximum size of a buffer containing a user-friendly, displayable name for a device. | |
Enumerations | |
enum | NexErrorCode { NEX_OK, NEX_DEVICEINUSE, NEX_DEVICEUNPLUGGED, NEX_DEVICELOST, NEX_OUTOFMEMORY, NEX_UNKNOWNERROR, NEX_INVALIDPARAM, NEX_INVALIDSTATE } |
Enumeration describing the error codes used throughout Nex. More... | |
enum | NexDeviceType { NEXDEV_MOUSE, NEXDEV_KEYBOARD, NEXDEV_MAX } |
Enumeration describing different types of devices. More... | |
enum | NexEventType { NEXEVENT_MOUSEMOVE, NEXEVENT_BUTTONDOWN, NEXEVENT_BUTTONUP, NEXEVENT_WHEEL, NEXEVENT_KEYDOWN, NEXEVENT_KEYUP, NEXEVENT_UNPLUGGED, NEXEVENT_REPLUGGED, NEXEVENT_MAX } |
Enumeration describing different types of devies a device may generate. More... |
Header for common data structures and definitions.
#define NEX_NAME_MAX 128 |
Maximum size of a buffer containing a user-friendly, displayable name for a device.
enum NexDeviceType |
Enumeration describing different types of devices.
enum NexErrorCode |
Enumeration describing the error codes used throughout Nex.
enum NexEventType |
Enumeration describing different types of devies a device may generate.