Specify Controller per Emulator?

Home Forums RetroPie Project Controller Configuration in RetroPie Specify Controller per Emulator?

This topic contains 7 replies, has 5 voices, and was last updated by Profile photo of dankcushions dankcushions 1 year, 6 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #98799
    Profile photo of eldo73

    Hi, I watched Floob’s video (all 60 minutes!) on config files in v3b2, and I’m sure the info was in there, but I’m going to have to go back and take detailed notes, I think. In the meantime, can anyone tell me how to specify a controller per emulator?

    I’ve built a small console device that has 2 sets of arcade style controls interfaced using the xin-mo usb controller. After a bunch of mucking around, it actually works pretty good. I also have a Logitech dual action usb gamepad that I’d like to use for it’s analog joysticks, basically in the n64 and psx titles. Everything works fine if I plug and unplug the appropriate controllers, but is there a way to specify that the Logitech is to be used for player 1 in those two emulators, while the xin mo is used for P1 in the others? Any help is appreciated!

    Profile photo of Floob

    This may help:

    Emulator specific button remapping is overwritten by all/retroarch.cfg

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    Profile photo of eldo73

    Ok, it’s been a while, but with Christmas break, I’m back at the retropie! I see the link there, but that seems to be describing how to change button mapping per emulator, not changing the controller per emulator.

    With the new system wide controller configuration, this issue has gotten a bit easier, but I’d still like a way to have the controllers plugged in and be selected based on the emulator.

    If I’ve misinterpreted, please let me know, if not, any help is appreciated!

    Profile photo of petrockblog

    Adjust “input_player1_joypad_index” setting for each system (configs/system/retroarch.cfg)

    so input_player1_joypad_index=0 is first usb port. input_player1_joypad_index=1 is second etc.


    Profile photo of eldo73

    Buzz, that was the part I was missing. I’d seen that line, but wasn’t sure how to use it. Thanks a ton!

    Profile photo of Localhorst86

    how (what Linux command do I need to execute) do I find out what indexes my controllers have been assigned when I am using a USB hub connected to my pi?

    Profile photo of eldo73

    I believe lsusb is the command you’re looking for.

    Profile photo of dankcushions

    are those joystick indexes static between boots? I feel like mine changed around at random…

Viewing 8 posts - 1 through 8 (of 8 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar