Sentence:  The third type of function allows you to check on the state of the joystick's buttons, axes, <WSD>hats</WSD>, and balls. 
Meaning of the word marked with <WSD> tags:  A hat switch.