non-libretro emulator for 4.8 rpi4
-
Yes, I really only use the retroarch.cfg in the \config\all directory for everything.
I attempted to disabled the hotkey function and add the exit function to my \config\all\arcade\retroarch.cfg file using the following, but still didn't work:
input_remapping_directory = "/opt/retropie/configs/arcade/"
input_enable_hotkey = "nul"
input_exit_emulator = "escape"#include "/opt/retropie/configs/all/retroarch.cfg"
-
The configuration looks correct. What emulator are you using when testing it ? Do you also have a gamepad connected ?
-
I'm using lr-mame2003. And yes, i have the usb gamepads connected while I launch the arcade.
I bet if I disconnect the gamepads I could exit the game with 'esc' key on keyboard (or IPAC since that's mapped to esc).
-
@sshht
Out of interest, what happens if you hold the hotkey on the controller, and then press exit on the IPAC? -
Good idea. Yes, if I hit the hotkey on my USB gamepad and then hit ESC keyboard key / IPAC button that is mapped to ESC, then it exits the arcade game successfully.
I guess I could program a combination of SELECT + ESC on my IPAC instead of just using ESC eh?
-
@sshht
It might help if you zip up or pastebin your retroarch.cfgs in case there is something obvious in one of them. I'm assuming you dont have a game specific one. -
-
@sshht
And if you comment out the hotkey enable button line in your controller file, does your IPAC exit with the single esc press?
I think you're right in the easiest way would be for you to use the hotkey on the IPAC unless you wrote a script to change the controller cfg based on the system that you loaded. -
Are you saying to comment out the "input_enable_hotkey_btn = "6" found in my \config\all\retroarch-joypads\USB,2-axis 8-button gamepad .cfg ?
-
@sshht said in non-libretro emulator for 4.8 rpi4:
I bet if I disconnect the gamepads I could exit the game with 'esc' key on keyboard (or IPAC since that's mapped to esc).
Have you tried that ? Disconnecting the gamepads will ensure no hotkey gets set in any input profile.
-
Yes, when I disconnect the gamepads, then i can use ESC to get the arcade game.
So when I use LR-mame2003 or any LR based emulator with my gamepads connected I can't use the 'esc' key to exit an arcade game.
It's like I need to disable the gamepads and hot key when loading libretro emulators in arcade. -
@sshht said in non-libretro emulator for 4.8 rpi4:
It's like I need to disable the gamepads and hot key when loading libretro emulators in arcade.
If you're sure you won't be using any gamepad for the Arcade games, you can try disabling the gamepads by adding to
retroarch.cfg
(for thearcade
system):input_player1_joypad_index=nul input_player2_joypad_index=nul input_player3_joypad_index=nul input_player4_joypad_index=nul
-
@mitu said in non-libretro emulator for 4.8 rpi4:
input_player1_joypad_index=nul
input_player2_joypad_index=nul
input_player3_joypad_index=nul
input_player4_joypad_index=nulWeird, I added in those lines you said to my retroarch.cfg in the arcade folder and restarted emulationstation, but when loading lr-mame2003 arcade game it still detected the gamepads and of course ESC key wouldn't exit, but the gamepads still exited with select-start.
Any other ideas to disable the gamepads strictly in the arcade system? -
@sshht Can you get a verbose log when running the arcade game and post it on pastebin.com ?
-
Here is the verbose log running asteroids. verbose log
Here is my arcade retroarch: arcade retroarch.cfg
-
@sshht Hm, I thought that would disable the gamepads.
Try adding just
input_autodetect_enable = false
and no gamepad detection would be performed, leaving only keyboard devices to work. Note - this might disable also any mice, so if you have a spinner, it could disable it too.
-
Sweet!!! that did the trick. It disabled my gamepads while playing arcade. I can now exit the arcade using the 'esc' key.
Thank you!!!!
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.