SDL_JoystickNumHats (3) Linux Manual Page
SDL_JoystickNumHats – Get the number of joystick hats
Synopsis
#include "SDL.h" int SDL_JoystickNumHats(SDL_Joystick *joystick);
SDL_JoystickNumHats – Get the number of joystick hats
int SDL_JoystickNumHats(SDL_Joystick *joystick);