Joyhat -1 or 0?

BlitzMax Forums/BlitzMax Beginners Area/Joyhat -1 or 0?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

That's not answering my question, Ian. The problem is my other controller reports the joyhat as being at position 0, not -1. I believe this is because it has no joyhat.

"Reports the position of the joystick's HAT/POV controller if supported." if it isn't supported, it's returning a zero? How can I tell if it's supported, or if the user is just pressing up on it?

Here's the button caps and axis caps for the two controllers I have.

This is the airflo:
I believe it has 13 buttons, two analog sticks and a d-pad (joyhat)

stick 0 button caps:00000000000000000001111111111111
stick 0 axis caps:00000000000000000000001000001111

This is the genesis controller:
It has a d-pad that reports as joyX/joyY and as buttons, and 7 actual buttons, for a total of 11 buttons.

stick 1 button caps:00000000000000001111111111111111
stick 1 axis caps:00000000000000000000000000000011