I have the impression that the lowlevel.library is buggy (unless under WinUAE ...)
On a real miga (A2000 with kick3.1), the mouse is taken in account (ReadJoyPort(0) returns 0x20z0xxyy, z statement buttons, xx horizontal counter, vertical yy counter), not under WinUAE (latest version installed 1440).
- I use lowlevel.library 40.35. Is it a newer version? which remains compatible with the 3.1?
- lowlevel.library manages 4 joysticks, but why ReadJoyPort (5) craches cheerfully ... It's coded with feet or what?
:-D
- ReadKey() returns crazy things under WinUAE like 0xffffffff instead of 0x000000ff when no key is pressed, strange qualifiers as 0x8000 (relative mouse ...)
In short, that's not great... :roll: