Remapping hotkeys from keyboard to joypad? HELP!
-
Hello guys.
Can anyone help me with this problem? When i enter RetroArch and try to bind some of the hotkeys to the controller it doesn't save the changes. The only thing i really want is to be able to exit to emulation menu from games with my joypad. In the beginning select+start worked but not anymore. When i plug a keyboard in i can easily exit with Alt+Esc.
Can anyone help me change the hotkeys from the keyboard to the joypad so i am able so save games, load games and exit to emulation station with the joypad?
Thank you so much for your help :)
-
open up /opt/retropie/configs/all/retroarch-joypads/ and find your controller .cfg file. fix these 2 lines:
input_exit_emulator_btn = "" input_enable_hotkey_btn = ""
exit is same number as start. hotkey is samenumber as select
-
@edmaul69 can you maybe write from the start what i should do? Im kind of new to this. because when i just write opt/retropie/configs/retroarch-joypads/
it says "-bash: opt/retropie/configs/retroarch-joypads/: No such file or directory" -
@MOXEZ sorry i posted it wrong. it is corrected above. type:
cd /opt/retropie/configs/all/retroarch-joypads/
type:
dir
look for "YourControllerName".cfg (thats not the file name) then type:
sudo nano "YourControllerName".cfg
then move down to these 2 lines and fix them
input_enable_hotkey_btn = "" input_exit_emulator_btn = ""
when done press "ctrl" & "x" together to exit. then press "y" to save
-
@edmaul69 thank you so much for your reply. But it doesn't work. The buttons says excactly that the hotkey enabler is select and to exit emulation station is start. But it just doesn't work in games. Only the keyboard is working by pressing alt+esc.
In retroarch inside emulation station when i go in "input hotkey binds" everything it says there is buttons from my keyboard, and nothing from the joypad. If i change some of it to joypad it wont save it when i exit. Cant really figure out what the problem is :/
Hope you can still help me :)
-
@edmaul69 is there a way i can change the hotkeys from keyboard mode to joypad mode?
-
@MOXEZ said in Remapping hotkeys from keyboard to joypad? HELP!:
Hello guys.
Can anyone help me with this problem? When i enter RetroArch and try to bind some of the hotkeys to the controller it doesn't save the changes. The only thing i really want is to be able to exit to emulation menu from games with my joypad. In the beginning select+start worked but not anymore. When i plug a keyboard in i can easily exit with Alt+Esc.
Can anyone help me change the hotkeys from the keyboard to the joypad so i am able so save games, load games and exit to emulation station with the joypad?
Thank you so much for your help :)
The hotkeys should be automatically generated for you when you add your controller in the Emulation Station interface.
Can you post your controller file on pastebin?
Its the one generated inopt/retropie/configs/all/retroarch-joypads/
-
I'm having the exact same issue as @MOXEZ , but with a Dualshock 4 controller. Here's my Pastebin http://pastebin.com/SJL4nbf9
I remember when I initially set up the retropie I had the keybored plugged in and I set up the buttons as if it were a controller and I did set up select = F1 and start = F2, so i can exit emulator games via F1+F2, but the controller start+select do not work.
My friend brought his SNES buffalo pad over and we were playing some co-op games and start+select would not exit emulator either.Just trying to figure out why the keyboard is taking precedence over the gamepad in the emulators when trying to do the hotkeys?
Thanks
-
@Sinistar83 hotkeys only work on controller 1 so if your keyboard is set up as controller 1 then the hotkeys wont work on the controller. not sure if you were using the keyboard as controller 1 or not
-
@edmaul69 said in Remapping hotkeys from keyboard to joypad? HELP!:
@Sinistar83 hotkeys only work on controller 1 so if your keyboard is set up as controller 1 then the hotkeys wont work on the controller. not sure if you were using the keyboard as controller 1 or not
@edmaul69 Thanks for the reply. I'm not sure how to test and tell which is controller 1. I know when I plug in the DS4 controller it says controller 0 but I think that means it's plugged into USB 0.
-
@Sinistar83 that means its controller 0 not usb 0. Second controller would say controller 1
-
@edmaul69 well it doesn't matter what port the controller is or if the keyboard is unplugged but the hotkeys will not work on the joypads, only the keyboard. :(
-
@Sinistar83 did you solved this issue? I have the same problem
-
@superdan can you detail your problem? The @Sinistar83 one seems to be that he uses the keyboard to control player1. And only player1 can control RGUI/use hotkeys.
-
@meleu thanks for your reply. I have the same problem. i set a joypad adn a keyboard setted as a pad also.
Until yessterday hotkeys were on the pad ( start+select to exit game ). Today hotkeys are on keyboard.
Is there a way to set joy as first pad and keyboard as second?
I also tried to cancel retroarch config files for these two devices but i cant figure out how to do it because they are genercic devices , so i cannot find their configuration name in the retroarch devices folder. I dont know how retroarch named them.
Also it would be a nice thing to completelly remove these devices and reconfigure but i cant find a way to do it.
Thanks a lot -
@superdan said in Remapping hotkeys from keyboard to joypad? HELP!:
Until yessterday hotkeys were on the pad ( start+select to exit game ). Today hotkeys are on keyboard.
The hotkeys are allways on the device used to control the player1.
Is there a way to set joy as first pad and keyboard as second?
You must know the joypad's index number, and then set it in
input_player1_joypad_index
at/opt/retropie/configs/all/retroarch.cfg
file. To set the keyboard as player2 I think you have to setinput_libretro_device_p2 = 3
in the same file.I also tried to cancel retroarch config files for these two devices but i cant figure out how to do it because they are genercic devices , so i cannot find their configuration name in the retroarch devices folder. I dont know how retroarch named them.
The joypads configs are usually in
/opt/retropie/configs/all/retroarch-joypads/YOUR_JOYPAD_NAME.cfg
.The keyboard configs are in the
/opt/retropie/configs/all/retroarch.cfg
file.Also it would be a nice thing to completelly remove these devices and reconfigure but i cant find a way to do it.
When in emulationstation press start and choose "Configure Input". Hold a button on the device you want to configure.
Further reading: https://github.com/retropie/retropie-setup/wiki/RetroArch-Configuration
-
@meleu thank you so much ill try this evening. Is there any way to know how what is device index number?
Thanks again -
@superdan if you have only one joypad connected its index is probably
0
.To choose which joypad to use for players 1-4 you can use the retropie_setup configeditor or the tool we talk about in this thread:
https://retropie.org.uk/forum/topic/1167/here-is-a-way-to-select-joystick-for-players-1-4-global-or-emu-specific -
thanks @meleu
now i deleted in order
/opt/retropie/configs/all/retroarch.conf
/opt/retropie/configs/arcade/retroarch.conf
/opt/retropie/configs/mame-libretro/retroarch.confmy roms are under /arcade/ folder and i use lr-mame2003
i deleted also my joy entry in
/opt/retropie/configs/all/emulationstation/es_input.cfg
and
/opt/retropie/configs/all/retroarch-joypads/DragonRiseInc.GenericUSBJoystick.cfg.bak ( the only one )restarted the system and he asked my about a new jou so i setted it. Well.
Now my keyboard is no more a joystick... Well!BUT
ive lost my hot keys in my joypad ( select + start no more exit games , i need to press ESC )i installed your program
https://retropie.org.uk/forum/topic/1167/here-is-a-way-to-select-joystick-for-players-1-4-global-or-emu-specific
and now i have nly 1 you Generic USB at numer 1 of the list -
@superdan said in Remapping hotkeys from keyboard to joypad? HELP!:
thanks @meleu
now i deleted in order
/opt/retropie/configs/all/retroarch.conf
/opt/retropie/configs/arcade/retroarch.conf
/opt/retropie/configs/mame-libretro/retroarch.confI didn't say to you delete these files!
OK. Use retropie_setup and reinstall retroarch from binary to get back at least the
...all/retroarch.cfg
file.
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.