Query whether a gamepad has a given button.
This merely reports whether the gamepad's mapping defined this button, as that is all the information SDL has about the physical device.
a gamepad.
a button enum value (an SDL_GamepadButton value).
true if the gamepad has this button, false otherwise.
SDL_GamepadHasAxis
See Implementation
Query whether a gamepad has a given button.
This merely reports whether the gamepad's mapping defined this button, as that is all the information SDL has about the physical device.