Packages
sdl2
SDL
Input
Joystick
count
create_from_instance_id
get_guid_buffer
get_guid_from_device
get_guid_from_string
get_guid_string
get_name_for_index
update
Joystick
get_attached
get_axis
get_ball
get_button
get_current_powerlevel
get_guid
get_hat
get_instance_id
get_name
is_haptic
num_axes
num_balls
num_buttons
num_hats
get_button
Description:
[
CCode
( cname =
"SDL_JoystickGetButton"
) ]
public
ButtonState
get_button
(
int
button)