v2026.5.3
All Bundles
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

TypeDescription
Intaxis

GetBindType #

Get bind type

method : public : GetBindType() ~ Int

Return

TypeDescription
Intbind type

GetButton #

Get button

method : public : GetButton() ~ Int

Return

TypeDescription
Intbutton

GetHat #

Get hat

method : public : GetHat() ~ Int

Return

TypeDescription
Inthat

GetHatMast #

Get hat mask

method : public : GetHatMast() ~ Int

Return

TypeDescription
Inthat mask