dwww Home | Manual pages | Find package

SDL_JoystickNumHats(3)         SDL API Reference        SDL_JoystickNumHats(3)

NAME
       SDL_JoystickNumHats - Get the number of joystick hats

SYNOPSIS
       #include "SDL.h"

       int SDL_JoystickNumHats(SDL_Joystick *joystick);

DESCRIPTION
       Return  the  number of hats available from a previously opened SDL_Joy-
       stick.

RETURN VALUE
       Number of hats.

SEE ALSO
       SDL_JoystickGetHat, SDL_JoystickOpen

SDL                         Tue 11 Sep 2001, 23:00      SDL_JoystickNumHats(3)

Generated by dwww version 1.15 on Sun Jun 23 04:44:53 CEST 2024.