This core confusingly has the main fire button on RETRO_DEVICE_ID_JOYPAD_A rather than B. Similarly, it puts the left and right mouse buttons on A and B, respectively, which put the left mouse button on the right, and the right mouse button on the left. The virtual keyboard button was also on A instead of B.
Presuming this was written without realizing the RetroArch internal is SNES style orientation rather than XBox, it seems appropriate to swap their default assignments here.
Also moved mouse control via joypad from right stick to left stick, and made it work when the hatari GUI is open.
This core confusingly has the main fire button on RETRO_DEVICE_ID_JOYPAD_A rather than B. Similarly, it puts the left and right mouse buttons on A and B, respectively, which put the left mouse button on the right, and the right mouse button on the left. The virtual keyboard button was also on A instead of B.
Presuming this was written without realizing the RetroArch internal is SNES style orientation rather than XBox, it seems appropriate to swap their default assignments here.
Also moved mouse control via joypad from right stick to left stick, and made it work when the hatari GUI is open.