SDL2 Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_GameControllerGetNumTouchpads

Get the number of touchpads on a game controller.

Header File

Defined in SDL_gamecontroller.h

Syntax

int SDL_GameControllerGetNumTouchpads(SDL_GameController *gamecontroller);

Function Parameters

SDL_GameController * gamecontroller a controller.

Return Value

(int) Returns number of touchpads.

Version

This function is available since SDL 2.0.14.


CategoryAPI, CategoryAPIFunction, CategoryGameController


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.