Function fermium::joystick::SDL_JoystickGetButton
source · pub unsafe extern "C" fn SDL_JoystickGetButton(
joystick: *mut SDL_Joystick,
button: c_int
) -> u8
Expand description
Get the current state of a button on a joystick.
The button indices start at index 0.