Controller configs not being recognized...
-
There are a few issues going on here - RetroPie on raspberry 4:
1 - whether or not there's a keyboard plugged in, the emulators are always looking for a keyboard. When I first set up the pi, I set up the keyboard first, but I have since reset the emulationstation config so only 2 controllers are configured - my switch controller via bluetooth, and a usb genesis controller. I even installed a joystick-selector (https://github.com/meleu/RetroPie-joystick-selection) to select by name. None of these have worked and while I can navigate through ES with either controller, once I open a game, neither work until I plug in the keyboard and use that.
2 - I set up specific my genesis control to be player 1 for the genesis(megadrive) and segacd emulators, but (when it was working), it would register as player 2.
Browsing the net for days, I've tried different things, but none seem to work. My retroarch-joypads folder only shows: 'Pro Controller.cfg' 'Pro Controller.cfg.bak' 'SWITCH CO.,LTD. USB Gamepad .cfg' 'SWITCH CO.,LTD. USB Gamepad .cfg.bak' The SWITCH CO is the genesis controller.
This file was created by the joystick-selection tool.
It's recommended to NOT edit it manually.
The format is pretty simmilar to a retroarch.cfg file, but it contains only
input_player[1-4]_joypad_index, and accepts "strings" as a value.
Example:
input_playerN_joypad_index = "joystick name"
If "joystick name" is an integer, then the real joystick index is used.
joystick_selection_by_name = "true"
input_player1_joypad_index = "Pro Controller #1"
input_player2_joypad_index = "SWITCH CO.,LTD. USB Gamepad #1"input_player3_joypad_index = "2"
input_player4_joypad_index = "3"
but under genesis(megadrive) it's this:
input_player1_joypad_index = "SWITCH CO.,LTD. USB Gamepad #1"
input_player2_joypad_index = "Pro Controller #1"the megadrive retroarch file is this, and I've changed the p1 index from 0 through 3 and nothing works except the keyboard:
Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
input_remapping_directory = "/opt/retropie/configs/megadrive/"
input_player1_joypad_index = "0"
input_player2_joypad_index = "1"input_player3_joypad_index = "2"
input_player4_joypad_index = "3"
#include "/opt/retropie/configs/all/retroarch.cfg"
I'm not really sure what else to try to 1) make it ignore the keyboard and 2) make the Pro Controller my standard p1 default , except on the megadrive and sega CD systems
-
Also want to add (I don't see an edit option), the keyboard is not set up for navigating through emulationstation. So I have to use the controller to navigate, then the keyboard in game.
-
Looks to me you've reset your RetroArch configuration and RetroArch does not load the controller configuration(s) anymore.
Please add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first and get a verbose log, then post it on pastebin.com. -
@mitu
Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..) Raspberry PI 4 Model B with 4GB RAM
Power Supply used: (If using a Pi) Vilros model FJ-SW126G0513000U
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.7.19
Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used) Raspberry Pi imager -> RetroPie
USB Devices connected: 256GB Samsung Fit, Genesis controller, 7" monitor, keyboard as needed
Controller used: Switch Pro Controller, Genesis USB controller
Error messages received:
Verbose log (if relevant): see below for links
Guide used: (Mention if you followed a guide)
File: (File with issue - with FULL path)
Emulator: (Name of emulator - if applicable) All and Genesis/Megadrive for specific setup
Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
How to replicate the problem:Verbose Logs:
https://pastebin.com/Jg7mwYW0 (nintendo 64 log)
https://pastebin.com/rPAvUHZ7 (genesis log 1)
https://pastebin.com/vChb0F16 (genesis log 2)After looking at the logs, I noticed the permissions issue on joystick-selection (happens on n64 and genesis log 1). This apparently was given root on installation, so I changed the ownership and that seems to have fixed the issue on the n64, allowing me to use the switch controller. The other emulators, though, still don't respond to it, and the genesis emulator doesn't respond to the genesis controller, even though it's set as player 1 for that console.
I hope that's enough info, but if not, I can try to supply whatever's needed.
-
Looks to be an issue with the joystick selection you've made. Can you disable/remove the joystick selection tool and re-try to see if the gamepads are working in-game ?
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.