Joystick Hat

Does anyone know of a way to use the Joystick Hat as a regular button?

I believe if you are at talking about the FOV hat on top of the joystick in this sort of fashsion…

They are normally the axis’s 5 and 6 and typically only return -1,0,1 values. In order to make it a button function just take the output of the axis and compare it to see if it is greater than say ‘.99’. Or at least that’s how they function on our Saitek Joysticks.

I’m not worried about returning values other than -1, 0, and 1. Thank you for your help. I was unaware that it was possible to read axes other than X and Y but I’ve just noticed that you can getRawAxis.