Retroarch and Joypad problems (solved)
-
@mitu Hooray. Thank you very much! Almost everything is okay now, except for hotkey. Now when I press the buton there is no need for combination, the RGUI simply appears instantly.
-
@CapNinja said in Retroarch and Joypad problems:
Now when I press the buton there is no need for combination, the RGUI simply appears instantly.
Hm, that doesn't seem right. Check your controller configuration in
/opt/retropie/configs/all/retroarch/autoconfig
and see if you have the hotkey enabled and set to some value. -
@mitu said in Retroarch and Joypad problems:
see if you have the hotkey enabled and set to some value.
I have
input_device = "Wireless Controller" input_driver = "udev" input_r_y_plus_axis = "+4" input_r_x_minus_axis = "-3" input_l_btn = "4" input_load_state_btn = "4" input_start_btn = "9" input_exit_emulator_btn = "9" input_r_y_minus_axis = "-4" input_down_btn = "h0down" input_l_x_plus_axis = "+0" input_r_btn = "5" input_save_state_btn = "5" input_right_btn = "h0right" input_state_slot_increase_btn = "h0right" input_select_btn = "8" input_left_btn = "h0left" input_state_slot_decrease_btn = "h0left" input_l2_btn = "6" input_l3_btn = "11" input_l_y_minus_axis = "-1" input_up_btn = "h0up" input_a_btn = "1" input_b_btn = "0" input_reset_btn = "0" input_enable_hotkey_btn = "10" input_l_y_plus_axis = "+1" input_r2_btn = "7" input_r3_btn = "12" input_x_btn = "2" input_menu_toggle_btn = "2" input_l_x_minus_axis = "-0" input_y_btn = "3" input_r_x_plus_axis = "+3"
This was on my DS4, on my 8bitdo sn30, my hotkey does't even work
-
@CapNinja said in Retroarch and Joypad problems:
input_enable_hotkey_btn = "10"
I see only this one present, but there's no button tied up to it. Did you skip the mapping for the Select button or you chose a different button as a Hotkey ?
-
@mitu said in Retroarch and Joypad problems:
Did you skip the mapping for the Select button or you chose a different button as a Hotkey ?
No, my hotkey is the ps button on ds4 and select on 8bitdo sn30
My curiosity now is, the online updater on retroarch can be used on my situation? I'm thinking about the "update joypads".
Other one, It's possible to delete only the retroarch core on Retropie Setup and install it again? -
@CapNinja said in Retroarch and Joypad problems:
No, my hotkey is the ps button on ds4 and select on 8bitdo sn30
I see.
My curiosity now is, the online updater on retroarch can be used on my situation? I'm thinking about the "update joypads".
I don't think so. You'd still need to set the hotkey.
Other one, It's possible to delete only the retroarch core on Retropie Setup and install it again?
This would get you the same configuration file as the
.dist
one. Check your system's configuration file and make sure it's also reset to the defaults. -
@mitu said in Retroarch and Joypad problems:
This would get you the same configuration file as the .dist one. Check your system's configuration file and make sure it's also reset to the defaults.
er, how can I do that?
-
Fortunately, you can "restore the factory settings" with the file /opt/retropie/configs/SYSTEM/retroarch.cfg.rp-dist. Just rename it to retroarch.cfg.
-
@mitu My factory settings have the same problem :(
-
Can you upload the
retroarch.cfg
files for the system you're trying on and the general one in/opt/retropie/config/all
to pastebin.com ?
Also, when launching the emulator, use the Runcommand launch menu and select "Launch with verbose logging" and also upload the/dev/shm/runcommand.log
file. -
@mitu said in Retroarch and Joypad problems:
Can you upload the retroarch.cfg files for the system you're trying on and the general one in /opt/retropie/config/all to pastebin.com ?
The general one in /opt/retropie/config/all: https://pastebin.com/A71RhzX4
and the runcommand.log: https://pastebin.com/Bqj24NGD
The snes retroarch.cfg (sorry): https://pastebin.com/YiYKEWHF -
Remove
/opt/retropie/config/all/retroarch.cfg
and then reinstall RetroArch from the RetroPie-Setup script, the problem is that the joystick auto-configuration folder is not set and the default (which you have updated with the online updater) has the default Libretro joypad profiles, which probably don't have a hotkey set.... [INFO] [udev]: Plugged pad: Wireless Controller (1356:2508) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event5) supports force feedback. [INFO] [udev]: Pad #0 (/dev/input/event5) supports 16 force feedback effects. [INFO] [Autoconf]: 302 profiles found. ... [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/udev/Sony-PlayStation4-DualShock4v2-Controller.cfg
-
@mitu Nothing. Still the same
-
Check the runcommand log file and see if your joypad configuration is loaded (Wireless Controller.cfg) and not the one from
/home/pi/.config/retroarch/autoconfig/udev/
. -
@mitu It's the wrong one
[INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/udev/Sony-PlayStation4-DualShock4v2-Controller.cfg
-
Try clearing up the
/home/pi/.config/retroarch/autoconfig/
folder and leave only the.cfg
files - you should have one for each one of your controllers. See if this time the right configuration is picked up. -
@mitu said in Retroarch and Joypad problems:
Try clearing up the
/home/pi/.config/retroarch/autoconfig/
my path is kinda different on my Pi folder. There is only "hascheevos", "RetroPie", "RetroPie-Extra" and "RetroPie-Setup".
How can I see this "/.config/"?
I'm using WinSCP, but can use Putty too. -
@CapNinja said in Retroarch and Joypad problems:
How can I see this "/.config/"?
This is part is for the people from future, people who probably did the same mistakes. To follow Mitu advice I needed to learn two things
I used Putty to see that folder, on there:
to delete files
rm myFile.txtto delete folders
rm -rf foldername/Now I need to thank this person who help lost souls like me.
Thank you very much @mitu my problem is solved. For learning reasons I just want to understand your line of thought, can you please explain to me? -
@CapNinja said in Retroarch and Joypad problems (solved):
Thank you very much @mitu my problem is solved. For learning reasons I just want to understand your line of thought, can you please explain to me?
You updated your auto-configuration profile from RetroArch, this downloaded the
.cfg
files from https://github.com/libretro/retroarch-joypad-autoconfig to the/home/pi/.config/retroarch/autoconfig/
folder. The same folder also holds the RetroPie generated gamepad configuration files, the difference between them is that the ones shipped by Libretro don't have a hotkey assigned.When starting, RetroArch prioritised loading the Libretro config file (this one) so deleting that file - along with the other profiles which might apply to your other controllers - will make RetroArch load the correct
.cfg
file - the one produced by the RetroPie scripts. -
@CapNinja said in Retroarch and Joypad problems (solved):
This is part is for the people from future, people who probably did the same mistakes. To follow Mitu advice I needed to learn two things
I used Putty to see that folder, on there:
to delete files
rm myFile.txtto delete folders
rm -rf foldername/For the you and others from the future: For such file operations, you can also start a text-based file manager by entering
mc
(Midnight Commander). Just mentioned as another option to the console commands and their simplistic might. 😌
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.