Name
sdl.GetNumHats -- get number of joystick hats
Synopsis
num = sdl.GetNumHats(port)
Function
Use this function to get the number of POV hats on a joystick. This is only possible for joysticks, not for game controllers.

Inputs
port
game port to query
Results
num
number of joystick hats

Show TOC