1SDL_JoystickNumHats(3)         SDL API Reference        SDL_JoystickNumHats(3)
2
3
4

NAME

6       SDL_JoystickNumHats - Get the number of joystick hats
7

SYNOPSIS

9       #include "SDL.h"
10
11       int SDL_JoystickNumHats(SDL_Joystick *joystick);
12

DESCRIPTION

14       Return  the  number of hats available from a previously opened SDL_Joy‐
15       stick.
16

RETURN VALUE

18       Number of hats.
19

SEE ALSO

21       SDL_JoystickGetHat, SDL_JoystickOpen
22
23
24
25SDL                         Tue 11 Sep 2001, 23:00      SDL_JoystickNumHats(3)
Impressum