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.
GameControllerButtonBind
SDL joystick layer binding for this controller button/axis mapping
Operations
GetAxis #
Get axis
method : public : GetAxis() ~ Int
Return
GetBindType #
Get bind type
method : public : GetBindType() ~ Int
Return
| Type | Description |
|---|
| Int | bind type |
GetButton #
Get button
method : public : GetButton() ~ Int
Return
GetHat #
Get hat
method : public : GetHat() ~ Int
Return
GetHatMast #
Get hat mask
method : public : GetHatMast() ~ Int
Return
| Type | Description |
|---|
| Int | hat mask |