|
NAMESDL_JoystickGetHat - Get the current state of a joystick hatSYNOPSIS#include "SDL.h"Uint8 SDL_JoystickGetHat(SDL_Joystick *joystick, int hat); DESCRIPTIONSDL_JoystickGetHat returns the current state of the given hat on the given joystick.RETURN VALUEThe current state is returned as a Uint8 which is defined as an OR'd combination of one or more of the following
SEE ALSOSDL_JoystickNumHats
Visit the GSP FreeBSD Man Page Interface. |