Get the current state of a capsense on a gamepad.
Defined in <SDL3/SDL_gamepad.h>
bool SDL_GetGamepadCapSense(SDL_Gamepad *gamepad, SDL_GamepadCapSenseType type);| SDL_Gamepad * | gamepad | a gamepad. |
| SDL_GamepadCapSenseType | type | the type of capsense to query. |
(bool) Returns true if the capsense is touched, false otherwise.
It is safe to call this function from any thread.
This function is available since SDL 3.6.0.