SDL_GETNUMGAMEPADTOUCHPADFINGERS(3)

πŸ’– SDL_GetNumGamepadTouchpadFingers(3) πŸ’–

okay bestie, welcome to the SDL_GetNumGamepadTouchpadFingers page, straight out of the SDL3 manual (section 3, functions, iykyk) πŸŽ€


✨ NAME ✨

SDL_GetNumGamepadTouchpadFingers β€” get the number of supported simultaneous fingers on a touchpad on a game gamepad 🫢


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_gamepad.h>

int SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad *gamepad, int touchpad);

πŸ¦‹ FUNCTION PARAMETERS πŸ¦‹

  • gamepad β€” a gamepad. yes, that's the whole description. a gamepad. the vibe is minimal πŸ’…
  • touchpad β€” a touchpad. also the whole description. iconic honestly.

⭐ RETURN VALUE ⭐

Returns number of supported simultaneous fingers πŸ‘‘ like, how many lil fingers can this touchpad track at once.


🧚 THREAD SAFETY 🧚

It is safe to call this function from any thread. no cap, go wild, thread it from wherever 🌈


πŸ’œ AVAILABILITY πŸ’œ

This function is available since SDL 3.2.0. so if you're on something older, bestie, it's giving "not found" 😭


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, no notes. this one's brought to you by the fine folks at Simple Directmedia Layer, version SDL 3.4.18 β€” mwah, tysm for reading, ily, go count some fingers πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from