-
AuthorPosts
-
Hello,
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.
AnonymousInactive07/11/2014 at 23:05Post count: 55same probleme with ps3 controller i can’t play with …
imrhienGuest07/12/2014 at 09:10Post count: 908Hi 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
AnonymousInactive07/12/2014 at 10:57Post count: 55what is the file ?
ImrhienGuest07/13/2014 at 05:04Post count: 908The config file for ALL Retroarch emulators is here:
/opt/retropie/configs/all/retroarch.cfg
To 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.cfg
I will be testing this myself soon.
ImrhienGuest07/13/2014 at 07:00Post count: 908Yep, 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.cfg
The 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!
ImrhienGuest07/13/2014 at 07:09Post count: 908Sorry, 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.cfgImrhienGuest07/13/2014 at 08:35Post count: 908Don’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 + R1This 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.
try:
sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg
and
sudo ./retroarch-joyconfig -j 1 >> /opt/retropie/configs/all/retroarch.cfg
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.