Controls messed up in emulator launch menu and various emulators
-
@mitu said in Controls messed up in emulator launch menu and various emulators:
@used2berx said in Controls messed up in emulator launch menu and various emulators:
No. What I mean is that the blue screen menus where you can select the default emulator for a system or an emulator for a specific rom is all jacked up [...]
That's the Runcommand launch menu. Since this affects the non-lr emulator, did you by any chance swapped the A and B buttons in the configuration ?
I'm not sure what you're asking me. Do you mean when I put in the controller inputs I want?
In the runcommand menus right now, it looks as though the Circle does UP, the Triangle does DOWN, Left Bumper makes a selection, Right Bumper backs out. This is much greater than a simple swap of A and B.
In EmulationStation, "A" is Circle, and "B" is Cross. "X" is Triangle, and "Y" is Square. This is how I've always set it up.
Before this problem started, the buttons did the exact same thing in the Runcommand menus that they do in EmulationStation. Now they are WAY different.
In fact, if I try to do anything in the "RASPI-CONFIG" menu, I can't select any option with any button/stick-direction press at all. I have to unplug and hard boot the Pi to even get back to EmulationStation. I used to be able to control that menu from my joystick too.
In short, I'm asking how I get the Runcommand menu to behave exactly the same as the EmulationStation menus like they did before.
There has to be some file that was bastardized somewhere that is altering the button presses that are outside of the purview of ES and RetroArch.
-
@used2berx Reset your controller configuration and re-configure it - https://retropie.org.uk/docs/EmulationStation/#es_inputcfg-edits
-
@mitu said in Controls messed up in emulator launch menu and various emulators:
@used2berx Reset your controller configuration and re-configure it - https://retropie.org.uk/docs/EmulationStation/#es_inputcfg-edits
Did that already. It didn't change anything. I've actually done that about 10 times now.
I added this to my previous post:
In EmulationStation, "A" is Circle, and "B" is Cross. "X" is Triangle, and "Y" is Square. This is how I've always set it up.
Whenever I did this before, the controls behaved exactly the same in the Runcommand menus. Now they're completely different. The config is fine in EmulationStation, and is as I've always had it.
EDIT: Here's my es_input.cfg
<?xml version="1.0"?> <inputList> <inputAction type="onfinish"> <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command> </inputAction> <inputConfig type="joystick" deviceName="BDA PS3 Airflo wired controller" deviceGUID="03000000d62000001d57000010010000"> <input name="pageup" type="button" id="4" value="1"/> <input name="start" type="button" id="9" value="1"/> <input name="down" type="hat" id="0" value="4"/> <input name="pagedown" type="button" id="5" value="1"/> <input name="right" type="hat" id="0" value="2"/> <input name="select" type="button" id="8" value="1"/> <input name="left" type="hat" id="0" value="8"/> <input name="up" type="hat" id="0" value="1"/> <input name="a" type="button" id="2" value="1"/> <input name="b" type="button" id="1" value="1"/> <input name="x" type="button" id="3" value="1"/> <input name="y" type="button" id="0" value="1"/> </inputConfig> </inputList>
Essentially, what is happening in the Runcommand is this:
"a" becomes "4" instead of "2".
"b" becomes "5" instead of "1"
"up" becomes "1" instead of "hat id=0, value=1"
"down" becomes "3" instead of "hat id=0, value=4"They work just as the configuration above in EmulationStation and libretro core emulators though.
-
@mitu OMG.... WTF????
Last ditch effort here I'm sure wasn't going to do a damn thing....
I unplugged the controller I was using and plugged in the other IDENTICAL controller, and now it works fine in the Runcommand menu, as well as any configuration menus.
Anybody have any ideas why this would be?
Now I'm paranoid that when my brother gets this thing it's not going to control right with whatever controller he uses.
-
Use
jstest /dev/input/js0
on both controllers and see if the button presses are identical. Emulationstation and the libretro cores use SDL and might have a different view of the controller configuration. -
@mitu They're exactly the same.
Square = 0
Cross = 1
Circle = 2
Triangle = 3
L Bumper = 4
R Bumper = 5
L Trigger = 6
R Trigger = 7
Select = 8
Start = 9
Left Stick Press = 10
Right Stick Press = 11
Home = 12The sticks all behave identical too.
I wasn't expecting any variance here. Setting up either controller in EmulationStation makes both of them behave identically when navigating menus in ES or when using emulators. It is only when using anything in Runcommand (either to launch emus, or to configure retropie) that everything is done with alternate button presses).
I was wrong about non-libretro emulators. I didn't configure the
snes9x.cfg
file correctly earlier, and both controllers did the wrong things before. They both now work fine.So this is just a Runcommand issue, behaving completely different when using two identical controllers.
EDIT: Well I figured I'd reboot and try the first controller again now that I had swapped them to do that joystick test.
Now the other one works right too.
I HATE it when stuff fixes itself and there is absolutely zero reason for it to work because it could happen again at any time and who knows if it will self-correct next time. Definitely don't have the warm and fuzzies right now.
Nearly a whole day wasted here on a non-issue. Jeez....
Thanks for the help @mitu . Wish I could tell you I knew how I "fixed" it.
-
@gomisensei since the linux menus use the analog joystick, most likely your left analog stick is wonky. Once you go into one of those menus press each direction on the analog stick/sticks until you find the direction that makes it stop going haywire. If that works you need to replace your analog stick (not the plastic and rubber part you see but the analog stick under it)
-
@edmaul69 said in Controls messed up in emulator launch menu and various emulators:
@gomisensei since the linux menus use the analog joystick, most likely your left analog stick is wonky. Once you go into one of those menus press each direction on the analog stick/sticks until you find the direction that makes it stop going haywire. If that works you need to replace your analog stick (not the plastic and rubber part you see but the analog stick under it)
just backed up my RetroPie and /opt/retropie/configs, and installed a fresh image, now everything works fine.
Originally, everything worked fine, then I did a dist-upgrade, and it was all messed up. The controls worked fine in non-libretro emulators. Guess it's just one of those things...
-
I'm having a similar issue. I'm using an XBox 360 controller with 4.4 B+ and it works fine in all my emulators and the RetroArch menus but for whatever reason in system menus such as retropie-setup and pre-launch menus the button for Select is set to the Left Bumper (L1) instead of A. Which file sets the config for these menus?
-
@SartreFan please start a new topic with details.
Please do not post a support request without first reading and following the advice 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.