Bundle SDL2 multimedia library for 2D graphics, input handling, audio playback, and window management. Core types: Window, Renderer, Texture, Surface, Event, and Mixer. Compile with -lib sdl2.
JoyAxisEvent
Joysticks axis event
Operations
GetAxis #
Index of the axis that changed
method : public : GetAxis() ~ IntReturn
| Type | Description |
|---|---|
| Int | axis index |
GetTimestamp #
Timestamp of the event
method : public : GetTimestamp() ~ IntReturn
| Type | Description |
|---|---|
| Int | event timestamp |
GetType #
Event type
method : public : GetType() ~ IntReturn
| Type | Description |
|---|---|
| Int | EventType->SDL_JOYAXISMOTION |