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