Closed SniperJoe closed 3 years ago
Have just tested Windows version via Wine, same behavior.
I was about to report the same problem. I mapped the 6 buttons (A to Z) to J, K, L, U, I, O key on the keyboard. But somehow A, B, C buttons are still mapped to 1, 2, 3 key on the keyboard numpad when I was playing "Street Fighter II'". X, Y, Z buttons are mapped correctly. To fix this, I had to manually edit the keyboard codes in those lines starting with "md.input.port1.gamepad6" in mednafen.cfg.
A little research showed that the problem may be in md.ui and incorrect <property name="command">
values in 6-buttons controller config section.
P. S. Looks a bit like someone forgot to change commands after copying from 3-buttons controller config section 😂
You are right, this was a copy-paste error ;)
Fixed with commit d33001d.
When you map up/down/left/right button for MegaDrive 6-buttons controller, Mednaffe passes the mapping with
But the buttons do not work. I have also tried this way of passing input mapping with standalone mednafen:
In order to make it work, the mapping should be passed for 6-buttons controller specifically:
Everything works fine this way.
Reproduces on Kubuntu 21.10 with Mednaffe installed via flatpak, with Logitech F310 and DualShock 4 controllers. I had removed 6-buttons controller input mapping from mednafen.cfg before every test.