Piboy is always Player 1, how to make other controllers automatically be player 1
-
Pi Model or other hardware: 8gb Pi 4, inside ExperimentalPi Piboy Case
Power Supply used: Piboy Battery with Piboy charger
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.7.1
Built From: Retropie Official Raspberry Pi 4 image
USB Devices connected: None
Controller used: PS3 Dualshock Controller, Wirelessly
Error messages received: VolumeControl::init() - Failed to find mixer element
Verbose log (if relevant): N/A
Guide used: N/A
File: N/A
Emulator: All Emulators, but have been using Snes9x
Attachment of config files: N/A
How to replicate the problem: Hook up Piboy to tv, use PS3 controller, and notice that the Piboy buttons are always Player 1 with menu controlsHello all,
I'm back again with another small problem I want to fix on the Piboy. I have been using the Piboy as both a handheld and system for my TV. However, after I installed the Piboy firmware and scripts, the Piboy DMG buttons always are player one. I can fix this by going to Retroarch from Emulationstation and saving a config for the Dualshock to be player 1, but there is a problem with that, as if I forget to resave a config with the Piboy buttons as player 1, then I need the PS3 controller to play games in handheld mode or switch player 1 to be the Piboy DMG buttons.
This never used to happen before installing my Pi4 setup into the Piboy, even with multiple controllers, so I figure maybe this was part of the installation for the Piboy. I was able to use any controller I wanted and have it be player 1, just by selecting the game with the controller I wanted in Emulationstation (I think it was working like this). Is there a way to make sure that the controller I select the game with in Emulationstation becomes player 1, or revert this function back in a config file?
-
@brandflake11 said in Piboy is always Player 1, how to make other controllers automatically be player 1:
Is there a way to make sure that the controller I select the game with in Emulationstation becomes player 1, or revert this function back in a config file?
There's no such capability, the order of the players is dictated by how the system (Linux) enumerates the gamepads and presents them to the emulator(s). There's a joystick ordering helper script which can help re-mapping the order for RetroArch based emulators - https://github.com/meleu/RetroPie-joystick-selection. It can be used at runtime (through the Runcommand launch menu) or in advance, by configuring the gamepad's order for certain systems.
-
@mitu Is there anything to do with USB ports used (if wired) or order of powering the controllers (if wireless)?
-
@iandaemon said in Piboy is always Player 1, how to make other controllers automatically be player 1:
@mitu Is there anything to do with USB ports used?
In this case, no - the 2nd controller is connected via Bluetooth. Not sure how the PiBoy case connects its inputs (GPIO/USB ?).
-
@mitu
Thanks for the help with this. The piboy buttons are connected through the gpio pins.I use that helper script, which works great. However, it doesn't reconfigure who controls the button shortcuts (reset, retroarch, save state, etc.) or the retroarch menus. I still have to use the piboy for that, even if I assign the dualshock to be player 1.
Does Pegasus offer more joystick configuration options?
-
@brandflake11 said in Piboy is always Player 1, how to make other controllers automatically be player 1:
I use that helper script, which works great. However, it doesn't reconfigure who controls the button shortcuts (reset, retroarch, save state, etc.) or the retroarch menus. I still have to use the piboy for that, even if I assign the dualshock to be player 1.
P1 should always control the hotkeys, whatever controller is connected. Is the DS controller showing up as P1, when starting RetroArch ?
Does Pegasus offer more joystick configuration options?
Pegasus is just the front-end, your issue is with the emulator(s), they're not related.
-
@mitu
When using the controller select user menu, the piboy still shows up as controller 1, even though the dualshock controls player 1. So, I can control player 1 in the game with the dualshock, but can't control the retroarch menu with the dualshock. -
Can you try and get a verbose log from running a game, just to see how the gamepads are detected by RetroArch ?
-
NEW Experimental PiBoy Discord!
Alright.. I've been using the Eperimental Pi PiBoy w/ various Linux distros and it feels like the developer / creator is extremely busy to help most of the time..
I created a PiBoy Experimental Discord for discussions , ideas and help.
https://discord.gg/rcQdmv6UxrIf you have one, come join...
Cheers.. -
@brandflake11 Was this resolved? I'm trying to play from my couch across the room, so I need the wireless controller, but Daytona USA for instance won't let me operate the controls because my external controller is only seen as player 2. The whole point of the HDMI output is so you can play it like a normal Raspberry Pi on a monitor or TV, surely?
-
@demonscythe Hey!, I never got this resolved unfortunately. I stopped using the Piboy and got an Odroid Go Super instead, because of some multiple reasons. Maybe if you post your log here others may be able to help out. I don't know if ExperimentalPi's script auto makes the DMG controls 1st player, but that is also something to ask them about. Let me know if I can help in any way though.
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.