table of contents
other versions
- experimental 3.5~git20260611~7c60bcd+ds-1
| SDL_GamepadHasCapSense(3) | SDL3 FUNCTIONS | SDL_GamepadHasCapSense(3) |
NAME¶
SDL_GamepadHasCapSense - Return whether a gamepad has a particular capsense.
SYNOPSIS¶
#include <SDL3/SDL_gamepad.h>
bool SDL_GamepadHasCapSense(SDL_Gamepad *gamepad, SDL_GamepadCapSenseType type);
FUNCTION PARAMETERS¶
RETURN VALUE¶
Returns true if the capsense exists, 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 |