libretro / mame2016-libretro

Late 2016 version of MAME (0.174) for libretro. Compatible with MAME 0.174 sets.
Other
32 stars 40 forks source link

Properly binded Right-Stick controls only yield diagonal output #46

Open roslof opened 3 years ago

roslof commented 3 years ago

[Tested exclusively on ARM devices]

Right-Stick controls only register in the diagonal directions (Black Widow, Cloak & Dagger, Krull, Robotron 2084, Sheriff, Smash TV, Space Dungeon, etc.) This has also been an issue with lr-mame for the last 3+ years. lr-mame2015 does not have this issue.

TEST 1: When binding the R-Stick to all four directions (Up, Down Left and Right) the R-Stick only registers diagonal data. (I believe if you bind exactly one direction, that direction will appear correct, but it breaks when paired with an adjacent input, then the diagonal issue occurs).

TEST 2: When binding the R-Stick AND four buttons to all four directions (Up, Down Left and Right) the R-Stick only registers diagonal data, but the buttons work correctly (individual buttons like the Dual Shock Triangle (Up), X (Down), Square (Left) and Circle (Right) will independently register the correct direction and when combined (corded) will also, correctly shoot diagonally. This confirms the issue is solely with the R-Stick control.

It is fairly simple to test. All attempts to find a work-around have been futile. I test regularly on Raspberry Pi 3B+ and Raspberry Pi 4B. Various controllers have been used, but I primarily work with the Sony Dual Shock 4.

FWIW: I also regularly test lr-mame2003, lr-mame2003plus, lr-mame2010, lr-mame2015 and none exhibit this consistent behavior. I maintain a recommended arcade emulator list, but I recommend other emulators for dual-stick games due to this issue.

Hope this is helpful.