getNumTouchpadFingers method

int getNumTouchpadFingers(
  1. int touchpad
)

Get the number of supported simultaneous fingers on a touchpad on a game gamepad.

\param gamepad a gamepad. \param touchpad a touchpad. \returns number of supported simultaneous fingers.

\since This function is available since SDL 3.1.3.

\sa SDL_GetGamepadTouchpadFinger \sa SDL_GetNumGamepadTouchpads

extern SDL_DECLSPEC int SDLCALL SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad *gamepad, int touchpad)

Implementation

int getNumTouchpadFingers(int touchpad) {
  return sdlGetNumGamepadTouchpadFingers(this, touchpad);
}