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.
ControllerAxisEvent
Game controller axis motion event
Operations
GetAxis #
The controller axis that moved
method : public : GetAxis() ~ GameControllerAxisReturn
| Type | Description |
|---|---|
| GameControllerAxis | the axis, a GameControllerAxis value |
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_CONTROLLERAXISMOTION |