Rasperry Pi 4 - Neogeo controls not working
-
@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....
-
@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 ?
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.