Rasperry Pi 4 - Neogeo controls not working
-
I'm using RetroPie with fbneo-libretro.so. I don't seem to be able to use the controls.
Right trigger for example is jump when I push it down, and shoot when I release it. Obviously that's not ideal. :)
How do I setup my controls specifically for Neogeo? They work in every other emulator I've tried.
-
@slooker please provide some more details about your build as requested in https://retropie.org.uk/forum/topic/3/read-this-first
lr-fbneo works for me without any additional configuration. Can we see the verbose log of a session with a NeoGeo game where the problem is occurring?
-
I've also noticed that I can't do anything after I go into the Neogeo menu after loading a game. I was going to see if I could configure the controller in there, but I load the quick menu and I can't move around in it or get out of it except by resetting the raspberry pi.
Pi Model or other hardware: 4 (with 4gb ram) Power Supply used: PSU that came with canakit for raspberry pi 4 RetroPie Version Used: 4.8 Built From: Pre made SD Image on RetroPie website USB Devices connected: usb keyboard, logitech mouse dongle Controller used: xbox one controller (times 2) Error messages received: (no messages, just controls don't work) Verbose log (if relevant): Guide used: no guide File: Emulator: neogeo Attachment of config files: (configs) https://pastebin.com/bwgDNmgR How to replicate the problem: install retropie, load up metalslug 1 (or 2) and try to play after configuring an xbox one controller in emulation station.
-
@sleve_mcdichael Here is the verbose log: https://pastebin.com/85m5pFW0
-
@slooker the log looks okay, I think; it doesn't show any remaps in use, or any obvious errors that I can see. Can we see your neogeo/retroarch.cfg?
/opt/retropie/configs/neogeo/retroarch.cfg
-
It was in the original pastebin
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/neogeo/" #include "/opt/retropie/configs/all/retroarch.cfg"
-
@slooker oh sorry I didn't realize that was a different link than the log. That looks normal too. As does your global config. I'm not sure what else to look for; hopefully someone else can pick this up and get you sorted.
-
@sleve_mcdichael Well bugger. I appreciate you taking the time to help! Thanks!
-
@slooker said in Rasperry Pi 4 - Neogeo controls not working:
Right trigger for example is jump when I push it down, and shoot when I release it. Obviously that's not ideal. :)
For some reason, your gamepad is detected as keyboard (?):
[INFO] [udev]: Keyboard #0: "HOLDCHIP USB Gaming Keyboard" (/dev/input/event4). [INFO] [udev]: Keyboard #1: "HOLDCHIP USB Gaming Keyboard System Control" (/dev/input/event5). [INFO] [udev]: Keyboard #2: "HOLDCHIP USB Gaming Keyboard Consumer Control" (/dev/input/event6). [INFO] [udev]: Keyboard #3: "HOLDCHIP USB Gaming Keyboard" (/dev/input/event7). [INFO] [udev]: Keyboard #4: "Xbox Wireless Controller" (/dev/input/event1). [INFO] [udev]: Keyboard #5: "" (/dev/input/js0).
Are you using a genuine Xbox One controller or is it a clone/3rd party controller ? Is it detected as gamepad on a PC or does it appear as a keyboard also ?
-
@mitu It's a genuine xbox one controller that works as a controller on my PC. I've got two of them connected, and they both work fine on PC?
-
@mitu said in Rasperry Pi 4 - Neogeo controls not working:
For some reason, your gamepad is detected as keyboard (?):
Ok, it's also detected as a controller. I guess the driver adds an extra key input so that's why is detected with a keyboard input.
... [INFO] [udev]: Keyboard #4: "Xbox Wireless Controller" (/dev/input/event1). [INFO] [udev]: Keyboard #5: "" (/dev/input/js0). [INFO] [udev]: Mouse #0: "Logitech M325" (REL) /dev/input/event0 [INFO] [udev]: Pad #0 (/dev/input/event1) supports 0 force feedback effects. ...
You can remap the buttons via the Core input remapping menu in RetroArch and re-arrange the buttons as you want.
If the controllers are connected via Bluetooth, I'd also recommend installing the
xpadneo
driver (it's included in RetroPie-Setup, you just need to install it from the drivers section). You may have to re-pair the controller and re-configure it in EmulationStation. -
@mitu As soon as I open the Quick menu in a neogeo game, I can't move around the menu at all. I can't exit the menu with the controller OR keyboard. I usually end up having to ssh in and reboot. I'll try adding the xpadneo driver to see if that helps.
-
@mitu Looks like I already have xpadneo (Installed - via source). Is there something else I should be doing?
-
@slooker said in Rasperry Pi 4 - Neogeo controls not working:
Is there something else I should be doing?
Unplug the keyboard ?
-
@mitu said in Rasperry Pi 4 - Neogeo controls not working:
Unplug the keyboard ?
I unplugged the keyboard and completely rebooted. I still have weird controls and I can't move anything after opening up the quick menu. Here's my verbose log of this run: https://pastebin.com/u2hepqCb
-
I'm not sure why the quick menu doesn't work - just for Neogeo games.
FBneo added some input macros bound to L1/R2 and L2/R2, so that may explain why the triggers have actions associated. They can be disabled from the Controls sub-menu from RetroArch's quick menu, but if that's not working for you, I guess you can't change it.
If you use only the keyboard, are you able to open (F1) and operate the quick menu ? Can you post the controller profile - there should be a
.cfg
file from/opt/retropie/configs/all/retroarch-joypads
namedXbox Wireless Controller
. -
@mitu After plugging the keyboard back in and restarting emulation station, F1 does nothing at all when I push it on the keyboard.
Here's my xbox wireless config though:
$ more Xbox\ Wireless\ Controller.cfg input_device = "Xbox Wireless Controller" input_driver = "udev" input_enable_hotkey_btn = "10" input_r3_btn = "14" input_r_y_minus_axis = "-3" input_l_btn = "6" input_load_state_btn = "6" input_r_y_plus_axis = "+3" input_up_btn = "h0up" input_up_btn_label = "D-Pad Up" input_left_btn = "h0left" input_left_btn_label = "D-Pad Left" input_state_slot_decrease_btn = "h0left" input_select_btn = "10" input_r2_axis = "-4" input_r_x_minus_axis = "-2" input_l_y_plus_axis = "+1" input_l_y_plus_axis_label = "Left Analog Y+" input_l_x_plus_axis = "+0" input_l_x_plus_axis_label = "Left Analog X+" input_right_btn = "h0right" input_right_btn_label = "D-Pad Right" input_state_slot_increase_btn = "h0right" input_l2_axis = "+5" input_l_x_minus_axis = "-0" input_l_x_minus_axis_label = "Left Analog X-" input_r_x_plus_axis = "+2" input_l3_btn = "13" input_r_btn = "7" input_save_state_btn = "7" input_l_y_minus_axis = "-1" input_l_y_minus_axis_label = "Left Analog Y-" input_y_btn = "3" input_x_btn = "4" input_menu_toggle_btn = "4" input_down_btn = "h0down" input_down_btn_label = "D-Pad Down" input_start_btn = "11" input_exit_emulator_btn = "11" input_b_btn = "0" input_b_btn_label = "A" input_reset_btn = "0" input_a_btn = "1" input_a_btn_label = "B"
-
So I was actually wrong about being able to navigate the quick menu in other systems.
I can't navigate the quick menu in ANY system using the keyboard or controller.
I've just never needed to in another system because the buttons work the way I expect them to. :/
-
Apparently the right and left bumper lets me move (3 or 4 lines at a time...) through the quick menu. So I can navigate the quick menu, just not with any precision. :)
-
Apparently after waiting ~5 seconds, the bumpers work, then everything works, as far as navigating the quick menu. Now I just have to figure out how to reset the controls for neogeo....
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.