Hat switches

These functions are designed to set up a switch with directional inputs as a hat switch. Windows will recognize this as a switch with directional inputs, as opposed to just buttons with numbers.

Typical switches are the Alps RKJX - family.

Remember stating the amount of hat switches in 8_Joystick, or else your hat switch wont be recognized at all.

funkyHat()

Sets up a hat switch. Does not need button numbers.

Last updated