Point-of-view hat value in degrees
as a double. Zero degrees is straight ahead, 90 is to the left, etc.

Output values are [-1,1] for centered values, [0,1] for noncentered
values, and uint32 for the buttons in All Outputs mode. Output sense
is positive for right-hand rule rotations on centered values (roll,
pitch, and yaw).

Assumptions and Limitations

If the joystick does not support an R (rudder
or “twist”) channel, yaw output is set to zero. Outputs
are of type double except for the buttons output in AllOutputs mode,
which is a uint32 flagword of bits. On non-Windows platforms, this
block currently outputs zeros.

Note

Pitch value has the opposite sense as that delivered by FlightGear's
joystick interface.