I Can't Escape Games
-
Hi all, I'm running a Ras Pi 3 B+ model and retro pie 4.5.1 made with the premade sd image from retropie's site. I run it with a 2.5 power supply.
I've made a Pi-boxed controller. It has 16 buttons in all and one joystick (well, two for now; read on). 8 buttons are on the top panel (controller 1). There's 2 buttons on each of the right and left sides and 4 on the front panel (coin, p1, p2, hotkey)- these represent controller 2. I have the buttons spread out evenly over two eg starts zero delay encoders: 8 buttons each encoder and joysticks plugged into each one as well (eventually I'm going to have to unplug the extra joystick or shove it into the box to hide it). Along with those two usb encoders also plugged into the Pi via usb is a wireless keyboard/mousepad(iPazzPort) in one port and a mouse in the other port.
I have set the input for each encoder equally and identically, with hotkeys defined. When I have them both plugged in I can set up my arcade games wonderfully- the side buttons corresponding with the top panel buttons, the start buttons all working nicely. Oh what a glorious thing it is to see. BUUUUUUUUT then I can't escape my games. I hit the hotkey(s) and 1 to escape and nothing. I've tried select and start as well and nothing. Again, I can't stress this enough, it works perfectly otherwise. But this is a big problem- I can't hard shutdown it forever. Any help super appreciated. Meanwhile I'm going to make sure everything is mapped and config-files look right etc. -
Is the controller detected as keyboard or as a gamepad ?
-
Gamepad 1 and Gamepad 2 -Dragonrise Inc. Generic Usb
-
If they're the same model, you only need to configure 1, the other will automatically get the same configuration. If you didn't wire them identically, you'll have problems with the input mapping, since the inputs will be different.
Can you post the contents of the gamepad's configuration file saved in\\retropie\configs\all\retroarch\autoconfig\
? This would help to see which button is set as hotkey and how are the rest of the buttons mapped. -
@mitu Yeah I don't get it- it detects two gamepads - both Dragonrise generic usb joysticks and here's the file in the \retropie\configs\all\retroarch\autoconfig\ directory:
input_device = "DragonRise Inc. Generic USB Joystick " input_driver = "udev" input_l_btn = "4" input_load_state_btn = "4" input_start_btn = "9" input_exit_emulator_btn = "9" input_down_axis = "+1" input_r_btn = "5" input_save_state_btn = "5" input_right_axis = "+0" input_state_slot_increase_axis = "+0" input_select_btn = "8" input_left_axis = "-0" input_state_slot_decrease_axis = "-0" input_l2_btn = "6" input_up_axis = "-1" input_a_btn = "0" input_b_btn = "1" input_reset_btn = "1" input_enable_hotkey_btn = "11" input_r2_btn = "7" input_x_btn = "2" input_menu_toggle_btn = "2" input_y_btn = "3"
-
So your hotkey button is
11
and the exit button is the same as start, soHotkey + Start
should exit the emulator. However, if the button that inputs11
is on the 2nd gamepad, this will not work.
Can you confirm you have the hotkey wired to the P2 controller or you also have a hotkey for the P1 controller ? -
Yes but now I've gone down a deep hole and will be re-connecting all to the encoders. Then It's off to work so I'm going to go dark for awhile. Thanks for your help so far!
-
Now I can use the joysticks and buttons in the Retropie Menu screens but when I launch a game the controller(s) aren't working . when I start a game I I get the message "Dragonrise Inc. (Generic) USB Joystik Not Configured" in yellow. I can use the keyboard to exit the games but I can't play them. ARRRRRGH!!!
-
@CtotheVizza That means the
.cfg
file in the RetroArch auto-config folder has not been created and RetroArch doesn't know how about your controller.
Is the file you posted earlier present in that folder ? -
@mitu Yikes! No. There's nothing in that folder.
-
Try to configure the 1st controller again in Emulatiostation and see if any
.cfg
file appears in that folder. -
@mitu Trying that now- thanks a bunch for your help!
-
@mitu Okay- I have gone into retroarch and re-configured the joysticks, saved the auto and retroarch configs, and tested it out. Now the joystick and all the buttons are programmable in MAME, and I can escape games by using the keyboard but still no hotkey/select + start escape available in MAME and no way to bail out in any other type of emulator. I do now have a file in autoconfig and it looks like so:
input_driver = "sd1"
input_device = "DragonRise Inc. Generic USB Joystick "
input_vendor_id = "121"
input_product_id = "6"
input_b_btn = "2"
input_y_btn = "3"
input_select_btn = "8"
input_start_btn = "9"
input_up_axis = "-1"
input_down_axis = "+1"
input_left_axis = "-0"
input_right_axis = "+0"
input_a_btn = "0"
input_x_btn = "1"
input_l_btn = "4"
input_r_btn = "5" -
it's missing this, isn't it?:
input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9 -
ADDED:
input_enable_hotkey_btn = "8"
input_exit_emulator_btn = "9"same results.
-
@CtotheVizza said in I Can't Escape Games:
input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9Yes, that's added by Emulationstation's scripts. It's also missing the shortcuts for Load/Save/Next/Prev Save state, but you can add them manually - following the mappings in https://retropie.org.uk/docs/RetroArch-Configuration/#default-joypad-hotkeys.
-
@mitu I think I got it! There was an odd line in /all/retroarch.cfg that was turning the controllers off or something. Anyway, I can escape the games with hot keys again. At least I can get the side buttons to work in arcade/mame games as well. Thanks for your help and for this site as well! I read that controller page about 100 times and it finally sank in enough to get this working right!
-
@CtotheVizza I know this is an old thread but I’m having the same issue, I saw a line in retroarch.cfg that said something like “input_hotkey_enable = nul”. Do you remember If that’s the line you changed?
-
@MyFartSoTart Please don't bump old topics - open a new topic and explain your issue, adding the info about your setup as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
-
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.