Return whether a gamepad has a particular capsense.
Defined in <SDL3/SDL_gamepad.h>
bool SDL_GamepadHasCapSense(SDL_Gamepad *gamepad, SDL_GamepadCapSenseType type);| SDL_Gamepad * | gamepad | the gamepad to query. |
| SDL_GamepadCapSenseType | type | the type of capsense to query. |
(bool) Returns true if the capsense exists, false otherwise.
It is safe to call this function from any thread.
This function is available since SDL 3.6.0.