Get the number of touchpads on a gamepad.
Defined in <SDL3/SDL_gamepad.h>
int SDL_GetNumGamepadTouchpads(SDL_Gamepad *gamepad);
SDL_Gamepad * | gamepad | a gamepad. |
(int) Returns number of touchpads.
It is safe to call this function from any thread.
This function is available since SDL 3.2.0.