SDL_JoystickNumHats
Get the number of joystick hats
- Provided by: libsdl1.2-dev (Version: 1.2.15+dfsg2-5)
- Source: libsdl1.2
- Report a bug
Get the number of joystick hats
#include "SDL.h"
int SDL_JoystickNumHats(SDL_Joystick *joystick);
Return the number of hats available from a previously opened SDL_Joystick.
Number of hats.
SDL_JoystickGetHat, SDL_JoystickOpen