Rasperry Pi 4 - Neogeo controls not working
-
@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....
-
@slooker your controllers are bluetooth, right ? can you plug them on usb, run
lsusb
and post the output ? -
Bus 001 Device 005: ID 045e:02ea Microsoft Corp. Xbox One S Controller
-
Is there a better option than xbox controllers, because at this point, I'd happily throw money at it to not have to keep screwing with things. :p
-
@slooker said in Rasperry Pi 4 - Neogeo controls not working:
Is there a better option than xbox controllers, because at this point, I'd happily throw money at it to not have to keep screwing with things. :p
8bitdo controllers are popular, personally i mostly use hori fight commanders since i rarely play anything that requires a second stick or analog controls. I don't think changing controllers is the solution here though.
The officlal retroarch config file for
045e:02ea
(hexadecimal) aka1118:746
(decimal) is https://github.com/libretro/retroarch-joypad-autoconfig/blob/master/udev/Microsoft_X-Box_One_S_pad.cfg , and it doesn't look like yours at all, so my only guess is that your config is wrong. Maybe try overwriting yours with the official one ? -
@slooker said in Rasperry Pi 4 - Neogeo controls not working:
Is there a better option than xbox controllers, because at this point, I'd happily throw money at it to not have to keep screwing with things. :p
If they don't work in Neogeo only, the issue is localized for that system, could be a configuration issue and not a controller problem.
If you've updated the firmware on your controller, it may be necessary to install the latest
xpadneo
driver (tagged for release recently - v0.9.2) and see if the controllers start behaving correctly. The newest firmware enabled BLE (Bluetooth Low Energy) on the controllers and it may not work correctly with thexpadneo
driver included in RetroPie. -
@mitu Got it! I've updated the firmware per the docs. Let me try installing the new xpadneo driver and then copying the config for the controller from github!
-
@mitu How do I update to 0.9.2? When I try to reinstall, it reinstalls the branch 0.9.1 again.
-
@slooker I updated to 0.9.2 and re-paired my controller. I didn't think I had to go through the configuration again because I copied the configuration from the github repo.
After going through the repo, EVERYTHING WORKS!
Thank you so much for all of your patience in helping me!!
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.