getNumTouchpads method

int getNumTouchpads()

Get the number of touchpads on a gamepad.

\param gamepad a gamepad. \returns number of touchpads.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.2.0.

\sa SDL_GetNumGamepadTouchpadFingers

extern SDL_DECLSPEC int SDLCALL SDL_GetNumGamepadTouchpads(SDL_Gamepad *gamepad)

{@category gamepad}

Implementation

int getNumTouchpads() => sdlGetNumGamepadTouchpads(this);