RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Controller Config Help

    Scheduled Pinned Locked Moved General Discussion and Gaming
    retropie 4.4raspberrypi 3b+controller conf
    19 Posts 2 Posters 1.6k 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.
    • D
      Doran754 @mitu
      last edited by

      @mitu Sorry, the power supple is correct. It's a R/Pi 3b+ Retropie is on 4.4. I'm using a pre built image flashed onto my 128gb microsd card. No USB devices connected other than a keyboard when the controller isn't usable. The emulator is emulation station I think, I'm not sure. The adpater i bought is https://www.amazon.co.uk/gp/product/B07HCGWRC5/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

      Troubleshooting on 3 different controllers has made me realise it's the same issue on all 3. Down and right on the D-pad doesn't work but every other button works.

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

        @Doran754 Looks like an adapter issue to me, not related to the image or RetroPie. You can exit Emulationtation (F4 or use the menu) and then run from the terminal

        jstest /dev/input/js0
        

        This should start a test prompt for your controller, you can press the buttons and test also the D-Pad. This works with every controller.
        If the D-Pad buttons don't register, then there's your answer.

        EDIT: you can exit the test program by pressing Ctrl + C.

        1 Reply Last reply Reply Quote 0
        • D
          Doran754
          last edited by

          @mitu do you have a recommended adapter ? I have 3 snes pads now so i'd prefer to stick to the adapter route. I will try the suggestions above now thanks!

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

            @Doran754 I'm using the Raphnet dual SNES-to-USB adapter - https://www.raphnet-tech.com/products/snes2usb_2player_adapter_v2/index.php.

            D 1 Reply Last reply Reply Quote 0
            • D
              Doran754 @mitu
              last edited by

              @mitu I finally got around to running the test. Not sure what the info means though. It says:

              Joystick (SFC/GamePad) has 2 axes (X, Y) and 8 buttons (BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR).
              Testing . . . (interrupt to exit)
              Axes: 0 :-32767 1 :- 32767 Buttons: 0: off 1: off 2: off 3:off 4: off 5: off 6: off 7:off

              Is it telling me the buttons dont work? Sorry to keep bothering you and thanks for the help so far.

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

                @Doran754 You need to press the buttons and see if the output changes, this way you'll know if the button pressed are detected by Linux.

                D 1 Reply Last reply Reply Quote 1
                • D
                  Doran754 @mitu
                  last edited by Doran754

                  @mitu Ah I see, I thought it was going to run the test itself for some reason. Tried all 3 controllers, everything was showing up with an input except down and right on the D pad on all controllers. With it being the same issue on all 3 you think it's the adapter or something else?

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

                    @Doran754 It's the adapter. You can do the same test on a PC if you want to confirm it's not Linux that's fiddly, but I say the hardware is faulty and you should get it exchanged.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Doran754 @mitu
                      last edited by

                      @mitu Appreciate all the help. Unfortunately the adapter you mentioned doesn't seem available in the uk without importing and after fees it will get quite ridiculous but ill definitely replace the one I've bought already. Thanks!

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

                        @Doran754 Yes, it's not cheap. Try a Mayflash adapter - https://www.amazon.co.uk/Mayflash-PC044-Dual-Controller-Adapter-Black/dp/B002IXZ5DE/ref=sr_1_1.

                        D 1 Reply Last reply Reply Quote 1
                        • D
                          Doran754 @mitu
                          last edited by Doran754

                          @mitu Yep it was the adapter, the mayflash one arrived today and it works great with that. Still feels like theres a slight input delay but its probably just me being bad! Thanks again.

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

                            @Doran754 Don't forget to turn on the 'Game mode' on your TV, this will reduce the TV post-processing lag. You can also use the dispmanx video driver to reduce an extra frame of lag.

                            D 1 Reply Last reply Reply Quote 1
                            • D
                              Doran754 @mitu
                              last edited by

                              @mitu Good point, just changed to game mode. Would you mind explaining dispmanx. Do I need to download/install or just move to the root of the sd?

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

                                dispmanx is a video_driver that can be used for RetroArch based emulator instead of the (default) gl driver. It can be enabled through the Configuration Editor in the advanced configuration settings for all RetroArch emulators or for certain cores (emulators).

                                973fec89-f652-453f-9fc5-25cf2f3a9417-image.png

                                Now, this is an 'advanced' option and IMHO should only be enabled if you really notice the emulation lag (i.e. compared to the real console). You'll not be able to use shaders and the RetroArch notification messages will not be displayed. So, if you're just starting with emulation on RetroPie, I'd say just leave this one aside for now, but keep it in mind if you really want to tune things up later.

                                Reducing the resolution - going from 1080p to 720p - can also reduce the work needed to be done by the emulation and it would help for more performance demanding games.

                                D 1 Reply Last reply Reply Quote 1
                                • D
                                  Doran754 @mitu
                                  last edited by

                                  @mitu Resolution is just set to auto or default if i recall correctly. I'll double check in a moment and change it to 720p anyway. I'll take your advice on the driver for now too.

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

                                    @Doran754 You can check from the command line by running

                                    tvservice -s
                                    

                                    It should show you something like the lines below

                                    pi@retropie:~ $ tvservice -s
                                    state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive
                                    

                                    You can set the resolution using Raspi-Config from the RetroPie system - https://www.techcoil.com/blog/how-to-change-screen-resolution-in-raspbian-stretch-with-raspi-config/.

                                    1 Reply Last reply Reply Quote 1
                                    • 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.