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

    PPSSPP Controller Setup Guide for when nothing else works

    Scheduled Pinned Locked Moved Help and Support
    ppssppconfigurationcontrollertutorialgamepad
    21 Posts 10 Posters 29.7k 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.
    • A
      ATG77 @isrnick
      last edited by

      @isrnick As I mentioned on reddit, I got "-Bash: permission denied" on the sudo cat step. I c+p the out.txt file from within nano editor as you suggested and it worked just fine. Thoughts on why it denied permission to cat?

      isrnickI 1 Reply Last reply Reply Quote 1
      • isrnickI
        isrnick @ATG77
        last edited by

        @atg77 I didn't take into account that the redirection >> is processed before sudo, so it wouldn't have permission to access the file. I changed that Step now, to take that into account, and tested it to make sure that it works, so now it will work correctly simply following that Step. Thank you for reporting this error.

        1 Reply Last reply Reply Quote 0
        • isrnickI
          isrnick
          last edited by

          Is it even possible to use touchscreen buttons in Raspberry Pi and Retropie?

          1 Reply Last reply Reply Quote 0
          • A
            abeon
            last edited by

            Ive been trying to get this to work using SDL2-2.0.8, but get the following error when trying make controllermap

            make: *** No rule to make target 'controllermap'. Stop.
            

            Any ideas?

            Twitter: @mradamdavies
            Most other places: @abeon

            1 Reply Last reply Reply Quote 0
            • S
              Silas11m
              last edited by

              Hi,
              I am having issues with the controller mapping in PPSSPP in my Piboy DMG, and trying the steps described in this post I got stuck at 1.5. "make controllermap"

              It seems there is an issue with the left D-pad command in my controllerdb file. Is anyone having the same issue by any chance?

              Here is the message displayed:20210304_231231.jpg

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

                You're using a much newer libSDL2 than what RetroPie includes and it's not compatible with the newer controllermap. Use libSDL 2.0.10 and compile the controllermap from the test folder.

                S 1 Reply Last reply Reply Quote 0
                • RetroBadgerR
                  RetroBadger
                  last edited by RetroBadger

                  Hi I'm hoping you can help me.

                  I get as  far as the /controllermap 0 > out.txt then get a white screen. I pressed escape and chekced the errors as suggested. It appears I am missing 3 .bmp images (axis, button and controllermap).

                  This guide and the one linked just says to fetch the images from SDL2-2.0.6/test/ folder. How exactly do I do this? I have little to no experience with Linux and have been racking my brain trying to get my controller to work with PPSSPP.  Do I use some sort of cp./ command?

                  I'm using a rpi 4 2GB RAM with v4.7.1 image and a Gioteck VX3 Wireless PS3 Controller

                  Any help would be greatly appreciated. I know I'm getting babied through this but I have tried googling linux functions and I am struggling. Thanks

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

                    @retrobadger Did you try to configure your controller in PPSSPP, from its menu ? You didn't add any info about what kind of controller you have, RetroPie version,etc.

                    RetroBadgerR 1 Reply Last reply Reply Quote 0
                    • RetroBadgerR
                      RetroBadger @mitu
                      last edited by RetroBadger

                      @mitu
                      Hi there,

                      Yes I tried to configure my controller in PPSSPP menu, it does not work properly and won't recognize certain buttons (most notably the directional buttons)

                      I did include info about the controller I have it's a Gioteck VX3 Wireless PS3 Controller

                      I did include info about retropie version. It's v4.7.1

                      I'm using a 128 gb SD card with Retropie v 4.7.1 flashed using the retropie imager from here https://www.raspberrypi.org/software/

                      I am using an official 5.1V at 3A power supply

                      Would you be able to point me in the right direction in terms of copying over those .bmp files to the right place using linux commands.

                      Thanks,

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

                        @retrobadger You can download them directly from the project's page. Make sure you're in the same folder where the executable is placed and run:

                        wget https://github.com/libsdl-org/SDL/raw/main/test/controllermap_back.bmp
                        wget https://github.com/libsdl-org/SDL/raw/main/test/controllermap.bmp
                        wget https://github.com/libsdl-org/SDL/raw/main/test/axis.bmp
                        wget https://github.com/libsdl-org/SDL/raw/main/test/button.bmp
                        
                        RetroBadgerR 1 Reply Last reply Reply Quote 0
                        • RetroBadgerR
                          RetroBadger @mitu
                          last edited by

                          @mitu
                          Thanks this worked!

                          Finally got my controller to work with PPSSPP

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

                            @retrobadger Glad it worked.

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

                              @mitu
                              Thanks, i ran it again with version 2.0.10 and it worked. However it did not solve my issue: the analog stick of the PiBoy is still not recognized although I mapped it, and the D-pad does not recognize "up"and "down"presses (but somehow pressing left makes the pad go up, and pressing right makes it go down.

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

                                @silas11m
                                Hi, update on this: it actually did work, I just had to go back to ppsspp settings and re-map the buttons, the Dpad works now :) thanks vm

                                I 1 Reply Last reply Reply Quote 1
                                • I
                                  Ilya Lizard @Silas11m
                                  last edited by

                                  @silas11m Hi! I've got exactly the same problem with PiBoy DMG, and I'm pretty new to all the Linux stuff. I'll try to follow the guide and configure the keys myself, but - maybe you could help me and copy here the line you got in the out.txt? Thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • StonedEdgeS
                                    StonedEdge
                                    last edited by StonedEdge

                                    Sorry to bump an old thread, but does this still work? I'm getting stuck on running the ./controllermap executable from the test folder (i.e no images come up). I've tried downloading the BMP files and putting them in the test folder. I'm SSHing in from my PC at the moment and dont have a way of pressing ESC key on a keyboard.

                                    87649fc1-f88b-4207-802c-2e55b68f2d51-image.png

                                    Any help would be appreciated as I would like to use the standalone version of PPSSPP.

                                    EDIT: Nvm, it works. Just cant SSH in from your computer for the ./controllermap 0 >> txt command.

                                    Thanks.

                                    Check out my build logs below:
                                    Wii SPii (Wii in a GBA SP Shell)
                                    https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
                                    Retro Lite CM4
                                    https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

                                    1 Reply Last reply Reply Quote 0
                                    • StonedEdgeS StonedEdge referenced this topic on
                                    • S
                                      scorponok87
                                      last edited by

                                      Greaty guide and thank you so much for this. I followed all the steps successfully but now when I open up a game, nothing works, not even the keyboard anymore.

                                      Has anyone experienced this?

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        scorponok87
                                        last edited by

                                        This whole process worked out smoothly but to no result. I am still unable to move any controls in PSP games. Furthermore, using ESC with the keyboard to try to setup things there also does not work for me. Would anyone here mind to share there gamecontrollerdb.txt file with me?

                                        I have tried installing ppsspp from source or binary from scratch and still can't make it work.

                                        DTEAMD 1 Reply Last reply Reply Quote 0
                                        • DTEAMD
                                          DTEAM @scorponok87
                                          last edited by DTEAM

                                          @scorponok87
                                          That works. You are missing something. When your controller is mapped in gamecontrollerdb.txt, you have to map your buttons in ppsspp UI.
                                          Do you see your controller in gamecontrollerdb.txt ? If yes, the rest should be a piece of cake. Press esc like you did and set your buttons. If not, retry the process. It worked for me.

                                          IMPORTANT: You have to redo the process when you update PPSSPP. So if you reinstall the emulator, you lost what you did. I made a copy of gamecontrollerdb.txt for that reason.

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

                                            @DTEAM I managed to get it fixed with the help of this comment: https://www.reddit.com/r/RetroPie/comments/7r4vr8/how_do_i_reset_control_mapping_in_ppsspp/dsyj3ya/?utm_source=reddit&utm_medium=web2x&context=3

                                            This restored my keyboard functionality and I was able to remap the controller and that worked.

                                            1 Reply Last reply Reply Quote 1
                                            • C cimbaklm referenced this topic on
                                            • mituM mitu referenced this topic on
                                            • DTEAMD DTEAM referenced this topic on
                                            • DTEAMD DTEAM referenced this topic on
                                            • 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.