Returns hat value
If the hat switch is centered the return value will be -1. Otherwise the return value represents the angle of the hat switch, where 0 is forward, 90 is right, 180 is backward, and 270 is left.
Hat angle