1SDL_JoystickNumHats(3) SDL API Reference SDL_JoystickNumHats(3)
23
4
NAME
6SDL_JoystickNumHats - Get the number of joystick hats
7
SYNOPSIS
9#include "SDL.h"
1011
int SDL_JoystickNumHats(SDL_Joystick *joystick);
12
DESCRIPTION
14Return the number of hats available from a previously opened SDL_Joy‐
15stick.
16
RETURN VALUE
18Number of hats.
19
SEE ALSO
21SDL_JoystickGetHat, SDL_JoystickOpen
2223
24
25
SDL Tue 11 Sep 2001, 23:00 SDL_JoystickNumHats(3)