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.

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

\since This function is available since SDL 3.2.0.

\sa SDL_GetGamepadTouchpadFinger \sa SDL_GetNumGamepadTouchpads

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

{@category gamepad}

Implementation

int getNumTouchpadFingers(int touchpad) =>
    sdlGetNumGamepadTouchpadFingers(this, touchpad);