#title NumJoyHats [RCBasic Doc] #header Function NumJoyHats(joy_num) Returns the number of hats on a joystick