I have two controllers I'm testing a game with. One is a classic Sega Genesis controller, the other is a Nyko AirFlo. The Genesis controller has no joyhat, and when I check what the joyhat value is, it reports zero.
The AirFlo controller uses its d-pad as a joyhat and reports -1 if it is not being used, and 0 when up is pressed on the pad.
Obviously this is creating some problems for me. How can I detect if the stick has a joyhat? I see there are functions for JoyAxisCaps and JoyButtonCaps, but I don't know if/how these releate to the joyhat.
The AirFlo controller uses its d-pad as a joyhat and reports -1 if it is not being used, and 0 when up is pressed on the pad.
Obviously this is creating some problems for me. How can I detect if the stick has a joyhat? I see there are functions for JoyAxisCaps and JoyButtonCaps, but I don't know if/how these releate to the joyhat.