|
Size: 1009
Comment: update content - w/ Sam; remove draft
|
Size: 985
Comment: minor change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 26: | Line 26: |
| .[[SDL_JoyAxisEvent]] |
SDL_JoyAxisEvent
A structure that contains joystick axis motion event information.
Data Fields
Uint32 |
type |
SDL_JOYAXISMOTION |
Uint8 |
which |
the index of the joystick that reported the event |
Uint8 |
axis |
the axis that changed |
int |
value |
the current position of the axis (range: -32768 to 32767) |
Code Examples
You can add your code example here
Remarks
SDL_JoyAxisEvent is a member of the SDL_Event structure and is used when an event of type SDL_JOYAXISMOTION is reported.
A SDL_JOYAXISMOTION event occurs whenever a user moves an axis on the joystick.
Related Structures
