RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Rasperry Pi 4 - Neogeo controls not working

    Scheduled Pinned Locked Moved Help and Support
    raspberrypineogeofbneo
    30 Posts 4 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sleve_mcdichael
      last edited by

      @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.

      S 1 Reply Last reply Reply Quote 0
      • S
        slooker @sleve_mcdichael
        last edited by

        @sleve_mcdichael Well bugger. I appreciate you taking the time to help! Thanks!

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          @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 ?

          S 1 Reply Last reply Reply Quote 0
          • S
            slooker @mitu
            last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by mitu

              @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.

              S 2 Replies Last reply Reply Quote 0
              • S
                slooker @mitu
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • S
                  slooker @mitu
                  last edited by

                  @mitu Looks like I already have xpadneo (Installed - via source). Is there something else I should be doing?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @slooker
                    last edited by

                    @slooker said in Rasperry Pi 4 - Neogeo controls not working:

                    Is there something else I should be doing?

                    Unplug the keyboard ?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      slooker @mitu
                      last edited by

                      @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

                      1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator
                        last edited by

                        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 named Xbox Wireless Controller.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          slooker @mitu
                          last edited by

                          @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"
                          
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S
                            slooker @slooker
                            last edited by

                            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. :/

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              slooker @slooker
                              last edited by

                              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. :)

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                slooker @slooker
                                last edited by

                                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....

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  barbudreadmon @slooker
                                  last edited by barbudreadmon

                                  @slooker your controllers are bluetooth, right ? can you plug them on usb, run lsusb and post the output ?

                                  FBNeo developer - github - forum

                                  S 2 Replies Last reply Reply Quote 0
                                  • S
                                    slooker @barbudreadmon
                                    last edited by

                                    @barbudreadmon

                                    Bus 001 Device 005: ID 045e:02ea Microsoft Corp. Xbox One S Controller
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      slooker @barbudreadmon
                                      last edited by

                                      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

                                      B mituM 2 Replies Last reply Reply Quote 0
                                      • B
                                        barbudreadmon @slooker
                                        last edited by barbudreadmon

                                        @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) aka 1118: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 ?

                                        FBNeo developer - github - forum

                                        1 Reply Last reply Reply Quote 0
                                        • mituM
                                          mitu Global Moderator @slooker
                                          last edited by mitu

                                          @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 the xpadneo driver included in RetroPie.

                                          S 2 Replies Last reply Reply Quote 0
                                          • S
                                            slooker @mitu
                                            last edited by

                                            @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!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.