module

GSDL::GamePad

TODO: wrap our alias LibSDL3 and SDL3 usages so consumers don't need to use LibSDL3

Class methods

axis_value(axis : LibSDL3::GamepadAxis, gamepad_id : LibSDL3::JoystickID | Nil = nil) : Int16
Source
clear
Source
double_tap?(button : LibSDL3::GamepadButton) : Bool
Source
handle_gamepad_added(event : LibSDL3::Event)
Source
handle_gamepad_button_down(event : LibSDL3::Event)
Source
handle_gamepad_button_up(event : LibSDL3::Event)
Source
handle_gamepad_removed(event : LibSDL3::Event)
Source
just_pressed?(button : LibSDL3::GamepadButton, gamepad_id : LibSDL3::JoystickID | Nil = nil) : Bool
Source
just_released?(button : LibSDL3::GamepadButton, gamepad_id : LibSDL3::JoystickID | Nil = nil) : Bool
Source
multi_tap?(button : LibSDL3::GamepadButton, count : Int32) : Bool
Source
multi_tap_tracker
Source
pressed?(button : LibSDL3::GamepadButton, gamepad_id : LibSDL3::JoystickID | Nil = nil) : Bool
Source
tap_count(button : LibSDL3::GamepadButton) : Int32
Source
update
Source

Nested types