|
⇤ ← Revision 1 as of 2014-01-05 17:51:02
Size: 1593
Comment: Created page using content from SDL_events.h.
|
← Revision 2 as of 2015-06-20 19:39:21 ⇥
Size: 1368
Comment: Added remark (Feedback 2015-06-06).
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 32: | Line 32: |
| ''You can add useful comments here'' ##Leave this section as-is unless you have a remark to put in. In that case, replace ''You can add useful comments here'' with your remark(s) following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. |
The directions "down" and "right" have positive values here. |
DRAFT |
SDL_ControllerAxisEvent
A structure that contains game controller axis motion event information.
Contents
Data Fields
Uint32 |
type |
SDL_ CONTROLLERAXISMOTION |
Uint32 |
timestamp |
the timestamp of the event |
SDL_JoystickID |
which |
the joystick instance id |
Uint8 |
axis |
the controller axis (SDL_GameControllerAxis) |
Sint16 |
value |
the axis value (range: -32768 to 32767) |
Code Examples
You can add your code example here
Remarks
The directions "down" and "right" have positive values here.
Related Enumerations
Related Structures
