- joystick-get-hat joystick hat-numprocedure
- joystick-get-hat-raw joystick hat-numprocedure
See SDL_JoystickGetHat.
- joystick-get-hat returns a joystick hat position symbol.
- joystick-get-hat-raw returns an integer.
Both procedures signal an exception of kind (exn bounds) if hat-num is less than 0 or greater than the last hat switch on the joystick (see joystick-num-hats).