getNumTouchpads method

int getNumTouchpads()

Get the number of touchpads on a gamepad.

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

\since This function is available since SDL 3.1.3.

\sa SDL_GetNumGamepadTouchpadFingers

extern SDL_DECLSPEC int SDLCALL SDL_GetNumGamepadTouchpads(SDL_Gamepad *gamepad)

Implementation

int getNumTouchpads() {
  return sdlGetNumGamepadTouchpads(this);
}