Jostick HAT stick

Does anybody know how to define the HAT stick on the joysticks. all the other buttons are defined except the HAT sticks.

cool thanks