Re: Multiple button presses on Joystick being interpreted as hat?
Posted on 2023-09-17, 09:57
This is how it was encoded. The gameport only exposes 8 bits: Joystick X and Y axis (2x) Joystick button A, B (2x) In addition, since Y and Y need more than one bit, the way to read those was to reset a timer and continuously read the port until the bit flips and the time it takes is the measurement …