- changed status to resolved
bug detecting 3 button controllers
Issue #426
resolved
I have my original 3 button controllers hooked up to a mayflash adapter.I have Retroarch set to 3 button mode via the quick menu. When loading a 6 button game like street fighter II, it detects the second controller as a 6 button.
If I go back into the quick menu, and "disconnect it" by selecting a different controller option that is not supported (MD menacer), then go back to street fighter with f1, verify it is not connected, bring up the quick menu again and change it back to 3 button - it shows up as 3 button again in street fighter II.
Comments (5)
-
repo owner -
repo owner - changed status to invalid
-
repo owner - marked as minor
-
repo owner - changed status to open
-
repo owner - changed status to resolved
This was actually a bug in the libretro implementation. It has now been fixed in https://bitbucket.org/eke/genesis-plus-gx/commits/bc198ac138ceb1c363524a536a2c3a0fab0015f7?at=master
- Log in to comment
That would actually be a bug in retroarch, the core will emulate whatever controller device the libretro frontend tells him to pick through calls of retro_set_controller_port_device API() function.
By default (i.e if the frontend does not call this function or if "Joypad Auto"is set for the input port), the core will emulate a 6-button controller for MD games that support it (there is a field in ROM header that can tell if the game support special controllers) or 3-button controller otherwise
If a 3-button controller is emulated on port 1 and a 6-button controller on port 2 for this game, it means retroarch called retro_set_controller_port_device function for port 1 but not for port 2 or that input port 2 is set to "Joypad Auto" in input menu.