Get the current state of a button.
Returns true if the button is currently pressed, false otherwise.
true
false
SDL Docs
bool getButton(final int button) => sdl.getBool(sdl.sdl.SDL_JoystickGetButton(handle, button));