Remapping hotkeys from keyboard to joypad? HELP!
-
@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. -
But all these files had been auto-recreated after a reboot by retropie, should i reinstall retroarch anyway?
mi /all/retroarch.cfg has been re-created and is full of instruction inside.
Now all works except hotkeys -
@superdan can you paste here the output of
ls /opt/retropie/configs/all
? -
@meleu said in Remapping hotkeys from keyboard to joypad? HELP!:
ls /opt/retropie/configs/all
@meleu sure here it is
ls /opt/retropie/configs/all
autoconf.cfg joystick-selection.cfg runcommand.cfg
autostart.sh retroarch.cfg runcommand-launch-dialog.cfg
content_history.lpl retroarch.cfg.rp-dist runcommand-onstart.sh
emulationstation retroarch-core-options.cfg
emulators.cfg retroarch-joypadsalso in this link here is my retroarch.cfg in /all/
/opt/retropie/configs//all/retroarch.cfg
my joy settings in /opt/retropie/configs/all/retroarch-joypads/DragonRiseInc.GenericUSBJoystick.cfg
input_device = "DragonRise Inc. Generic USB Joystick "
input_driver = "udev"
input_l_btn = "8"
input_load_state_btn = "8"
input_start_btn = "7"
input_exit_emulator_btn = "7"
input_up_axis = "-3"
input_a_btn = "2"
input_b_btn = "3"
input_reset_btn = "3"
input_down_axis = "+3"
input_r_btn = "9"
input_save_state_btn = "9"
input_r2_btn = "4"
input_right_axis = "+0"
input_state_slot_increase_axis = "+0"
input_x_btn = "0"
input_menu_toggle_btn = "0"
input_select_btn = "6"
input_enable_hotkey_btn = "6"
input_y_btn = "1"
input_left_axis = "-0"
input_state_slot_decrease_axis = "-0"
input_l2_btn = "5" -
@superdan oh... you use "save config on exit" turned on. It's a good way to go mad. :-)
I suggest to use it turned off. To do so, you have to delete...all/retroarch.cfg
again and then rename thatretroarch.cfg.rp-dist
toretroarch.cfg
. -
@meleu thanks
here is the new version.
/opt/retropie/configs//all/retroarch.cfg
Do you think now is good?
Thanks -
Hello I am having trouble with my USB arcade sticks not being recognized by my new PI Zero. I plug them in and emulation station doesn't show any gamepad attached.
I built these arcades sticks myself using a PS3/PC ZERO DELAY USB ENCODER PCB as the input device and all of these arcade sticks work with my PI 2 for the last year.
All of my regular gamepad (Microsoft sidewinder a seem to work. Is it perhaps an issue with the retro pie image file for the zero not supporting these arcade stick devices? Or is it that this little device doesn't produce enough juice to power these larger controllers
Is there a possible fix?
-
@superdan you say if it's good. Are your hotkeys working fine?
@adafruitfly your problem deserve its own thread. Please, start a new one.
-
@meleu
NOPE dont works for my joypad :(
i can exit games only with ESC (select + start no way)
even in lr-fba-next i cant go to menu settings with
Select & X -
@superdan you f+×%#ed up your configs while the "save config on exit" was on. I suggest you to rename the retroarch.cfg.rp-dist in your
...configs/fba/
directory to retroarch.cfgMaybe it happened to several other files...
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.