Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Controller Configuration Problems Logitech Dual Action
- This topic has 10 replies, 3 voices, and was last updated 11 years, 3 months ago by
regulus.
-
AuthorPosts
-
07/11/2014 at 20:41 #14380
regulus
ParticipantHello,
I am attempting to configure a Logitech dual action game pad using the retroarch-joyconfig utility in a RetroPie v2.2 system. Everything appears to go smoothly in the configuration process. However, when I play a game nothing appears mapped correctly. The up and down buttons map to start and select. The 1 and 2 buttons map to D-Left and D-Right. Am I not writing to the correct retroarch.cfg file location? I believe the retroarch.cfg that came with the disk image is in the /opt/retropie/emulators/RetroArch/ directory.
07/11/2014 at 23:05 #14438Anonymous
Inactivesame probleme with ps3 controller i can’t play with …
07/12/2014 at 09:10 #14697imrhien
GuestHi all,
I am experiencing the same thing.
You can manually edit the config via ftp. It’s in /opt/ somewhere (am not at my system currently).
I just can’t figure out the buttons :-S
07/12/2014 at 10:57 #14720Anonymous
Inactivewhat is the file ?
07/13/2014 at 05:04 #15088Imrhien
GuestThe config file for ALL Retroarch emulators is here:
/opt/retropie/configs/all/retroarch.cfgTo run the controller config from the command line, input the following:
sudo chown pi /opt/retropie/configs/all/retroarch.cfg cd /opt/retropie/emulators/RetroArch/installdir/bin sudo ./retroarch-joyconfig -j 1 >> /opt/retropie/configs/all/retroarch.cfgI will be testing this myself soon.
07/13/2014 at 07:00 #15114Imrhien
GuestYep, that worked for me. I had to make one change:
sudo chown pi /opt/retropie/configs/all/retroarch.cfg cd /opt/retropie/emulators/RetroArch/installdir/bin sudo ./retroarch-joyconfig -j <strong>0</strong> >> /opt/retropie/configs/all/retroarch.cfgThe number in bold is the id of the gamepad. 0 is the first gamepad attached. Not sure if the keyboard counts as a second gamepad.
After doing this you’ll still want to edit the file over FTP because it doesn’t let you define buttons to exit the emulator!
07/13/2014 at 07:09 #15115Imrhien
GuestSorry, here’s that revised script again, outside CODE tags because it displays wrong.
sudo chown pi /opt/retropie/configs/all/retroarch.cfg
cd /opt/retropie/emulators/RetroArch/installdir/bin
sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg07/13/2014 at 08:35 #15133Imrhien
GuestDon’t forget to add this to your config afterwards:
input_enable_hotkey_btn = “6”
input_exit_emulator_btn = “7”
input_enable_hotkey_btn = “6”
input_save_state_btn = “4”
input_enable_hotkey_btn = “6”
input_load_state_btn = “5”On my controller this adds the following inputs:
Exit Emulator: Select + Start
Save State: Select + L1
Load State: Select + R107/17/2014 at 17:45 #16701regulus
ParticipantThis did not work for me. The script works, but when I play a game the buttons are still mapped incorrectly. I will see if I can manually edit the retroarch.cfg file instead.
07/18/2014 at 07:46 #16893flipbug
Participanttry:
sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg
and
sudo ./retroarch-joyconfig -j 1 >> /opt/retropie/configs/all/retroarch.cfg
07/18/2014 at 18:13 #17020regulus
ParticipantIt turns out the retroarch.cfg file included two sets of button assignments and RetroArch was using the first. I manually deleted the first set of assignments and now everything works like it should.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.