Generic input event.
More...
#include <event.h>
|
| U32 | deviceInst |
| | Device instance: joystick0, joystick1, etc.
|
| |
| S32 | iValue |
| | Handy for tracking IDs of things like fingers, hands, etc.
|
| |
| float | fValues [7] |
| | Stores the evemt data. Sometimes only one with a range of -1.0 - 1.0 is needed, other times it might be multiple vectors.
|
| |
| U16 | deviceType |
| | One of mouse, keyboard, joystick, unknown.
|
| |
| U16 | objType |
| | One of SI_XAXIS, SI_BUTTON, SI_KEY ...
|
| |
| U16 | ascii |
| | ASCII character code if this is a keyboard event.
|
| |
| U16 | objInst |
| | Which type instance or a KeyCode.
|
| |
| U8 | action |
| | What was the action? (MAKE/BREAK/MOVE)
|
| |
| U8 | modifier |
| | Modifier to action: SI_LSHIFT, SI_LCTRL, etc.
|
| |
| char | fingersX [256] |
| | Collection of x-coordinates for fingers.
|
| |
| char | fingersY [256] |
| | Collection of y-coordinates for fingers.
|
| |
| char | fingersZ [256] |
| | Collection of Z-coordinates for fingers.
|
| |
| char | fingerIDs [256] |
| | Collection of touch IDs.
|
| |
| U16 | type |
| |
| U16 | size |
| |
◆ InputEvent()
◆ action
What was the action? (MAKE/BREAK/MOVE)
◆ ascii
ASCII character code if this is a keyboard event.
◆ deviceInst
Device instance: joystick0, joystick1, etc.
◆ deviceType
One of mouse, keyboard, joystick, unknown.
◆ fingerIDs
◆ fingersX
Collection of x-coordinates for fingers.
◆ fingersY
Collection of y-coordinates for fingers.
◆ fingersZ
Collection of Z-coordinates for fingers.
◆ fValues
Stores the evemt data. Sometimes only one with a range of -1.0 - 1.0 is needed, other times it might be multiple vectors.
◆ iValue
Handy for tracking IDs of things like fingers, hands, etc.
◆ modifier
Modifier to action: SI_LSHIFT, SI_LCTRL, etc.
◆ objInst
Which type instance or a KeyCode.
◆ objType
One of SI_XAXIS, SI_BUTTON, SI_KEY ...
The documentation for this struct was generated from the following file: