[−][src]Function fermium::SDL_GameControllerGetButton
pub unsafe extern "C" fn SDL_GameControllerGetButton(
gamecontroller: *mut SDL_GameController,
button: Type
) -> Uint8
Get the current state of a button on a game controller.
The button indices start at index 0.