CL_InputHat3
Joystick hat interface.
Overview
CL_InputHat is the interface to the "hat" on a joystick.
Class members
- virtual
~CL_InputHat()
- virtual float
get_direction()
Members with descriptions
- virtual
~CL_InputHat() -
Description:
- virtual float
get_direction() -
Description:
Returns the current direction of the hat (in degrees from 0-360). If the value returned is -1, the hat is centered.
Return value:
Current hat direction (degrees 0-360) or -1 if centered.