Gamepad buttons stop working in retropie-setup 4.2.12
-
Same here.
But i found that pressing "start" instead of "a" during launching works : the launching menu options appear !
-
@evildindon said in Gamepad buttons stop working in retropie-setup 4.2.12:
Same here.
But i found that pressing "start" instead of "a" during launching works : the launching menu options appear !
The runcommand dialog is a bit misleading. I think it means any key ("a" as an article, not the "a" key), so any recognized key might trigger (but I'm not 100% certain). If the problem is my commit, joy2key is not parsing the a/b keys correctly for some reason.
-
@psyke83 said in Gamepad buttons stop working in retropie-setup 4.2.12:
I think it means any key ("a" as an article, not the "a" key)
It changed. I posted about it here: https://retropie.org.uk/forum/topic/10321/looking-for-testers-custom-joystick-mappings-for-runcommand-retropie_setup-menus
-
@psyke83 said in Gamepad buttons stop working in retropie-setup 4.2.12:
git revert 96e6efca4649d03e93f1ded04539034a9c8d2353
got this error when trying to revert.
error: Your local changes would be overwritten by revert. hint: Commit your changes or stash them to proceed. fatal: revert failed
The joystick that is causing issues has 2 controllers with the same name. The second player works. Just player 1 can't select anything, only move around with the dpad.
heres the config.input_device = "Twin USB Joystick" input_driver = "udev" input_r_y_plus_axis = "+2" input_l3_btn = "10" input_r_x_minus_axis = "-3" input_l_btn = "6" input_load_state_btn = "6" input_start_btn = "9" input_exit_emulator_btn = "9" input_l_y_minus_axis = "-1" input_up_btn = "h0up" input_r_y_minus_axis = "-2" input_a_btn = "1" input_b_btn = "2" input_reset_btn = "2" input_enable_hotkey_btn = "10" input_down_btn = "h0down" input_l_x_plus_axis = "+0" input_l_y_plus_axis = "+1" input_r_btn = "7" input_save_state_btn = "7" input_r2_btn = "5" input_r3_btn = "11" input_right_btn = "h0right" input_state_slot_increase_btn = "h0right" input_x_btn = "0" input_menu_toggle_btn = "0" input_select_btn = "8" input_l_x_minus_axis = "-0" input_y_btn = "3" input_left_btn = "h0left" input_state_slot_decrease_btn = "h0left" input_r_x_plus_axis = "+3" input_l2_btn = "4"
-
@meleu Any mapped button should still trigger the menu - it shouldn't mean the "A button", since any keyboard button should also work (or at least any button that outputs something)
-
@lostless Please use a code block for configs as detailed in the sticky topic - http://commonmark.org/help/ (please edit your post and add the ``` characters above and below the config)
-
@buzz sorry to derail the thread, but what key is that? can't find it anywhere on my mac. I had to copy and paste.
-
@lostless backtick
-
@buzz LOL thanks. found it on my above my tab. never knew it existed in all the years I've been staring at it. I only ever used the shift tilde.
-
@psyke83 it didnt work.after running the first git it brings up a nano script about the changes. not sure if i was supposed to edit so i just pressed ctrl + X. here is what it said when i ran the two things:
root@retropie:/home/pi/RetroPie-Setup# git revert 96e6efca4649d03e93f1ded04539034a9c8d2353 [master d0d9715] Revert "joy2key: implement key verification & dpad support" 2 files changed, 9 insertions(+), 13 deletions(-) root@retropie:/home/pi/RetroPie-Setup# git reset --hard origin/master HEAD is now at 8abaf6a usbromservice - remove -ue from bash script - fixes script stopping after copying roms
-
@psyke83 also, if only updating retropie-setup caused this could it still be a kernel issue as i only updated retropie-setup and not the kernel?
-
@edmaul69 said in Gamepad buttons stop working in retropie-setup 4.2.12:
@psyke83 it didnt work.after running the first git it brings up a nano script about the changes. not sure if i was supposed to edit so i just pressed ctrl + X. here is what it said when i ran the two things:
root@retropie:/home/pi/RetroPie-Setup# git revert 96e6efca4649d03e93f1ded04539034a9c8d2353 [master d0d9715] Revert "joy2key: implement key verification & dpad support" 2 files changed, 9 insertions(+), 13 deletions(-) root@retropie:/home/pi/RetroPie-Setup# git reset --hard origin/master HEAD is now at 8abaf6a usbromservice - remove -ue from bash script - fixes script stopping after copying roms
Try again, but keep in mind that you need to test your pad after the revert command. The reset command is to undo those changes after testing (otherwise retropie-setup will fail to update itself correctly).
-
@lostless said in Gamepad buttons stop working in retropie-setup 4.2.12:
@psyke83 said in Gamepad buttons stop working in retropie-setup 4.2.12:
git revert 96e6efca4649d03e93f1ded04539034a9c8d2353
got this error when trying to revert.
error: Your local changes would be overwritten by revert. hint: Commit your changes or stash them to proceed. fatal: revert failed
TY, I'll look into it soon. It seems that you have existing changes that are preventing the commit to be reverted.
You can see the changes via "git diff". If you're not aware of having made manual changes to the scripts, then you can use the "git reset" I posted earlier, but it will wipe out your changes, so be careful.
-
@psyke83 good news. it actually works. i did it with putty as root user. it makes you give an email and user name. after that you have to install runcommand again to get runcommand to work with controller 0
-
@lostless use putty on windows logging in as root. then after you do what he said, go into retropie-setup and reinstall runcommand. might have to reboot somewhere in there before reinstalling runcommand. it worked in everything else just not runcommand
-
-
It's not a good idea to run as root. Use pi@retropie or pie@<ip address> from a client such as putty. Use sudo selectively if temporary administrator privileges are needed for a command.
-
Thanks all for chiming in. Home now -- will run the requested tests.
To answer a few things first off:
-
If looking at the USB ports, I am using the left-most ports, one on top and one on bottom. I typically use that upper left port as the primary.
-
The controllers are USB iBuffalo SNES controllers. On both controllers Pressing "start" during ROM launch does nothing. Pressing "a" on both controllers does nothing.
-
Here is my "USB-axis 8-button gamepad.cfg" file. Note that, in my brief troubleshooting, I did try to remap the controller while in EmulationStation, so not sure if that affects this.
input_device = "USB,2-axis 8-button gamepad " input_driver = "udev" input_l_btn = "4" input_load_state_btn = "4" input_start_btn = "7" input_exit_emulator_btn = "7" input_up_axis = "-1" input_a_btn = "0" input_b_btn = "1" input_reset_btn = "1" input_down_axis = "+1" input_r_btn = "5" input_save_state_btn = "5" input_right_axis = "+0" input_state_slot_increase_axis = "+0" input_x_btn = "2" input_menu_toggle_btn = "2" input_select_btn = "6" input_y_btn = "3" input_left_axis = "-0" input_state_slot_decrease_axis = "-0" input_enable_hotkey_btn = "6"
- Will try the rollback next. Stay tuned.
-
-
My output. I haven't made any special changes, so not sure why it does this. Will try the reset thing next, then try this again.
pi@retropie:~ $ cd RetroPie-Setup pi@retropie:~/RetroPie-Setup $ git revert 96e6efca4649d03e93f1ded04539034a9c8d2353 *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for <pi@retropie.(none)>) not allowed pi@retropie:~/RetroPie-Setup $ sudo git revert 96e6efca4649d03e93f1ded04539034a9c8d2353 error: Your local changes would be overwritten by revert. hint: Commit your changes or stash them to proceed. fatal: revert failed
-
When resetting:
pi@retropie:~/RetroPie-Setup $ git diff pi@retropie:~/RetroPie-Setup $ sudo git diff pi@retropie:~/RetroPie-Setup $ git reset Unstaged changes after reset: M scriptmodules/helpers.sh M scriptmodules/supplementary/runcommand/joy2key.py pi@retropie:~/RetroPie-Setup $ sudo git reset Unstaged changes after reset: M scriptmodules/helpers.sh M scriptmodules/supplementary/runcommand/joy2key.py
rebooted, and then...
pi@retropie:~ $ git revert 96e6efca4649d03e93f1ded04539034a9c8d2353 fatal: Not a git repository (or any of the parent directories): .git pi@retropie:~ $ sudo git revert 96e6efca4649d03e93f1ded04539034a9c8d2353 fatal: Not a git repository (or any of the parent directories): .git
So, not sure where to go from here.
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.