table of contents
other versions
- experimental 3.5~git20260611~7c60bcd+ds-1
| SDL_GetGamepadCapSense(3) | SDL3 FUNCTIONS | SDL_GetGamepadCapSense(3) |
NAME¶
SDL_GetGamepadCapSense - Get the current state of a capsense on a gamepad.
SYNOPSIS¶
#include <SDL3/SDL_gamepad.h>
bool SDL_GetGamepadCapSense(SDL_Gamepad *gamepad, SDL_GamepadCapSenseType type);
FUNCTION PARAMETERS¶
RETURN VALUE¶
Returns true if the capsense is touched, false otherwise.
THREAD SAFETY¶
It is safe to call this function from any thread.
AVAILABILITY¶
This function is available since SDL 3.6.0.
SEE ALSO¶
| SDL 3.5.0 | Simple Directmedia Layer |