Controllers not working in-game [Pi 3B+]
-
Try this before attempting the previous.
I would unplug your mouse and keyboard clear the config file as you did before, reboot and then reconfigure your xbox 1 controller in emulation station . I suspect the mouse is causing the problems. If after unplugging the mouse and keyboard your controller decides to work try plugging the keyboard into port 3 and xbox controller in port 0 and test to see if your controller still works. continue with the mouse in port 2. The USB ports are assigned as follows:
top left 0
bottom left 1
top right 2
bottom right 3 -
@Pepper said in Controllers not working in-game [Pi 3B+]:
Try this before attempting the previous.
I would unplug your mouse and keyboard clear the config file as you did before, reboot and then reconfigure your xbox 1 controller in emulation station . I suspect the mouse is causing the problems. If after unplugging the mouse and keyboard your controller decides to work try plugging the keyboard into port 3 and xbox controller in port 0 and test to see if your controller still works. continue with the mouse in port 2. The USB ports are assigned as follows:
top left 0
bottom left 1
top right 2
bottom right 3Erm, how do I remove the config file without a keyboard? I kind of need it to do the things you stated. I assume you mean 'remove the config stuff and reboot the Pi this time without the Mouse or Keyboard', yeah?
I'll try that next.
-
so after you removed the config file unplug the keyboard and mouse before attempting to reconfig the controller. Use the ports i mentioned earlier.
-
@Pepper said in Controllers not working in-game [Pi 3B+]:
Also i found this:
Try assigning your controllers. With all desired gamepads plugged in, from EmulationStation's main menu, go to:"RetroPie" >
"RetroPie Setup" >
"Configuration / Tools" >
"805: configedit" >
"Configure basic libretro emulator options" > At this point, you can either ...
"Configure default options for all libretro emulators" OR
"Configure configure additional options for [EMULATOR NAME HERE]" In both cases ... go to
"Choose joypad order" and set which ever connected gamepads as player 1-4
MIght be that the 2 controllers are assigned the same number.
Damn, that looked promising. I was in the config edit for that and everything was marked as 'unset', so I thought that was it. I set the global to my Sony controller for player 1, but no joy.
I also cleared the controller config like you suggested in the more recent post (and moved the controller to the upper-left USB port). I actually did it via FTP, removing the .BAK backup file for good measure. Obviously this didn't help me, as I mentioned the config editing for controller defaults didn't work. I haven't tried changing the configs for the XB1 controller as I've removed those anyway.
Some new information though:
1 - When I went to set up the controller on Retropie boot after removing the configs via FTP I noticed something really weird. It apparently detected two controllers connected. I only had the one Sony controller plugged in, and nothing else (literally just the power, HDMI, and PS4 controller USB cable). Only things I can think of is either a bug, or it's somehow trying to connect to the controller wirelessly. Pretty sure it can't do that? I haven't set up bluetooth on the retropie at all? It didn't do that before, the first time I set it up anyway, I think.
2 - Upon looking carefully at the text that flashes on screen (by unplugging the controller and plugging it back in, doing this a few times) I notice it says that it's 'not configured'. This shows up regardless of what emulator I'm using. I tried it on the PS1 and SNES emulator.
Thanks for your continued help.
This is seriously frustrating, also weird. But mostly frustrating. It really ought to just be working, no?
-
@FuerDrauka
I’m thinking a re-image is in order at this point. I know that’s not what you want to hear. When I got my first raspberry pi I did this numerous times until I got all I wanted dialed. I’ve now 2 pi’s One for a tv and the other in a arcade cabinet. Sorry I cant be more help. Maybe “mitu” can be of help. He knows code errors well. May be able to make a somewhat simple fix. -
@FuerDrauka The DS4 is detected as 2 controllers - see https://retropie.org.uk/forum/topic/17650/dualshock-controllers-on-4-4-with-3b, that's why it appears this way. There's a workaround to disable the 2nd controllers (the motion sensors) in that topic.
There's no need to delete anything. Reset your controllers' configuration from the RetroPie-Setup (Configuration/Tools -> Emulationstation -> Clear/Reset ES input configuration).
Then remove your keyboard and connect only the Xbox controller then configure it in ES's input configuration. Verify that it works, the do the same for the DS4 controller (i.e. configure it and remove all other controller and keyboard). Check that it works.Look in the topic I mentioned (here and create the file with the contents from that topic. Reboot your Pi, then connect both controllers (without keyboard) and verify they work correctly.
-
@Pepper I just ended up doing that. I can play games now. That'll teach me to try to keep things up-to-date >_>
Still having some issues. I'm stuck on the Dreamcast date/time menu. I can't set and confirm the time, etc. It's apparently a long standing issue that hasn't been fixed? Seems a bit dumb to leave it broken like that. I tried using this tutorial: https://www.reddit.com/r/RetroPie/comments/70n9no/tutorial_how_to_map_a_ds4v2_ps4_controller_into/ Yeah, it doesn't help me. It's actually worse now. Before, I could use my Dualshock 4 to change the date/time numbers, but it was only the left analog stick that worked, so I couldn't confirm anything. Now, nothing at all works. I even tried inputting that input edev device stuff to see if that would help, but no joy. When I tried manually changing the inputs with the configuration (brings you to terminal to y/n a button and then you can press a button on the controller), through trial and error I determined it detected my PS4 controller as input device 4 ~_~ I set my global first controller to the sony controller but that didn't help. Unless I can find a simple, straightforward tutorial to get Reicast to actually let me in and play, I'll probably just give it up as a bad job.
Last annoying thing was the A/B and X/Y buttons being swapped in games. It was Retroarch being stupid. Just swapped those button numbers around.
-
@FuerDrauka
I wouldn’t spend too much time with the Dreamcast emulator. You will be disappointed in the way dreamcast games run most of them are unplayable. -
@Pepper said in Controllers not working in-game [Pi 3B+]:
@FuerDrauka
I wouldn’t spend too much time with the Dreamcast emulator. You will be disappointed in the way dreamcast games run most of them are unplayable.Fair enough. I was disappointed with N64. I've only tried three games (Smash Bros, Mario Kart, and Goldeneye), and the only one that ran decent was Mario Kart, but even that had some lag, mostly in the menu transitions. Interestingly, the other two games both had a bit about initializing textures or something, and had a FPS counter, so I guess they're known to run poorly on the emulator and it defaults to having the counter there to monitor performance. The two PS1 games I've tried (Mr. Driller and Tony Hawk PS 2) both worked well.
I did try one NES game and that wouldn't work with my controller.
On the plus side, I've had no real issues with the various Gameboy Colour, GBA, Atari, DOS, SNES, and Genesis games.
So yes, thanks for your patience and suggestions. It was irritating that my attempt to keep the device up to date was the source of my woes, at least the main issue.
-
I updated to version 4.4. from 4.1 aswell and i have the same problem.
Sometimes when a game starts (every emulator) i must wait 10-20 seconds before the controller responds
(for example "press START to start Tetris or Super Mario Land").
But the green text, that appears when i start a game, on the botton left appears and says "Controller Xbox 360 worked".Sometimes the controller doesn't work in a game.
On 4.1 everything was fine.
Thats probably the same problem that FuerDrauka has.I dont belive that we are the only ones with this problem, that must be an update issue and i dont know how to solve this.
I reinstall the xbox driver but nothing helps.
Maybe someone has a solution sometimes.Now i'll create a new partition and reinstall 4.1
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.