bug detecting 3 button controllers

Issue #426 resolved
Former user created an issue

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)

  1. Eke ekeeke repo owner

    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.

  2. Log in to comment