Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Several buttons on 2nd controller not working



  • edit /boot/cmdline.txt and add at the end of line this :

    usbhid.quirks=0x0079:0x0006:0x040

    reboot

    set your p1 controller up again in emulation station you should be good to go



  • @grant2258 said in Several buttons on 2nd controller not working:

    edit /boot/cmdline.txt and add at the end of line this :

    usbhid.quirks=0x0079:0x0006:0x040

    reboot

    set your p1 controller up again in emulation station you should be good to go

    I should have mentioned, I already gave this a go - I tried adding it again anyway, and no change.

    That said - Which quirk is 0x040 enabling? I had a hard time tracking down the hex value to a specific quirk being fixed?



  • @cybrasty said in Several buttons on 2nd controller not working:

    Do you have any other USB gamepads (other brand/model) you can test, so we can figure out if it is only affects the current gamepads (then you would mess with the particular gamepad .cfg) or is it system wide.

    My thinking is that because they are the same model, there might be some crossed wires when it comes to signals being sent to CPU. Maybe Retropie can distinguish those signals, but Mame, being older build, might run into some issues interpreting them?

    I dug out another controller (a 8Bitdo NES30..), and you're onto something (I just don't know what yet!). The same set of buttons doesn't work for P2 when using this pad in place of the "DragonRise" encoder :)



  • @kill That is curious, especially that it does the same on the fresh copy of Retropie.

    Is the issue limited to MAMA2010, or do other emulators behave the same?



  • I read the first post fully is sounds like its a mame2010 setup issue as the js test was good. I use two dragon rises and have no issues. @markwkidd has done a lot of work on the input system on mame2003plus. I can help you setting that up no problems at all. I havent used lr-mame2010 but 2003plus i know inside out as i helped with the setup for dragonrise 6 and 8 button configs



  • @cybrasty said in Several buttons on 2nd controller not working:

    @kill That is curious, especially that it does the same on the fresh copy of Retropie.
    Is the issue limited to MAMA2010, or do other emulators behave the same?

    lol - @kill (You have no idea how often I type kiallall <process> instead of killall ;))

    Anyway - So far, I've only tested with lr-mame2010. I can try find a game with a good input test screen like SFEX that works with lr-mame2003 / lr-mame2003-plus.. I'll give it a go later today.

    @grant2258 said in Several buttons on 2nd controller not working:

    I read the first post fully is sounds like its a mame2010 setup issue as the js test was good. I use two dragon rises and have no issues. @markwkidd has done a lot of work on the input system on mame2003plus. I can help you setting that up no problems at all. I havent used lr-mame2010 but 2003plus i know inside out as i helped with the setup for dragonrise 6 and 8 button configs

    As mentioned above, I'll give lr-mame2003 / lr-mame2003-plus a go today and see what happens.

    Thanks for the pointers all - will let you know what happens...



  • the setup for mame2003 plus is simple. if you have 6 buttons map like this

    https://github.com/libretro/mame2003-plus-libretro/blob/master/metadata/wipcontrols/snesmapping.png

    if you have 8 buttons map like this

    https://github.com/libretro/mame2003-plus-libretro/blob/master/metadata/wipcontrols/10PANEL.png

    then goto quick menu -> controls
    change user1 and 2 device type to 6 button or 8 button

    pick save remapfile your done. The top left side is the mame button number order.

    you can also redifne any buttons n this menu.

    There is also a 8 button setup for compatibility with fba/sf2 fightstick for 8 button layout but it doesnt map l and r very nice for other cores by default.

    here is the link for that mapping
    https://github.com/libretro/mame2003-plus-libretro/blob/master/metadata/wipcontrols/modern.png



  • I was wondering if there was any resolution to this issue. I'm having the EXACT same problem with my Player 2 controller. All of the Player 2 buttons work on the menu screen, but when I'm playing any of my fighting ROMS the "A" and "RS" buttons (i.e. Medium Kick and Heavy Kick) stop working.



  • @deverdon Which emulator do you use? (mame2003, mame2003-plus, …)

    Did you try @grant2258's solution in mame2003-plus?

    If that doesn't help, please provide the information about your system that is requested in https://retropie.org.uk/forum/topic/3/read-this-first.



  • @kill if you have matching controllers or encoders you never have to configure player 2. Both players share the same config file. After you setup player one if you want player two working immediately in emulationstation just restart emulationstation. Retroarch emulators dont need a restart to have player 2 already working in it. You can create problems trying to find an issue with encoders wiring between both players if you setup player 2 as it overwrites any configuration you setup with player one.



Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.