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

    Laptop install, cant stop keyboard from being player 1 on PSX

    Scheduled Pinned Locked Moved Help and Support
    keyboardlaptopjoypad
    33 Posts 5 Posters 2.5k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Yeah, it seems correct - 2 Joypads and 1 Keyboard. I don't see why it wouldn't work - the keyboard is not counted as a gamepad, so changing the gamepad index does not affect the keyboard behavior.

      Do you have problems using the gamepads as P1/P2 or you just want to disable the keyboard ?

      Did you reset your RetroArch's configuration by any chance or did you change it from the defaults ?

      R 1 Reply Last reply Reply Quote 0
      • R
        Richyuk @mitu
        last edited by

        @mitu Thanks for the reply. No defaults have been changed.

        Emulationstation classes my Keyboard as a gamepad it seems.

        The problem I have is that when I start a game on PSX it only allows input from the keyboard, the gamepads are totally dead in the water.

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

          Can you run the game with verbose logging ? Use the Runcommand launch menu to toggle debug logging when starting the game, exit the game and the post the contents of /dev/shm/runcommand.log to pastebin.com to take a look.

          1 Reply Last reply Reply Quote 0
          • R
            Richyuk
            last edited by

            Sure, done. Please see here; https://pastebin.com/a76jk10B

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

              It looks like the Sony Vaio is considered as a gamepad 1 and the ACRUX gamepad is 2nd.

              ...
              [INFO] [udev]: Plugged pad: Sony Vaio Keys (4173:0) on port #0.
              [INFO] [udev]: Pad #0 (/dev/input/event4) supports 0 force feedback effects.
              [INFO] [Autoconf]: 1 profiles found.
              [INFO] [Autoconf]: no profiles found for Sony Vaio Keys (4173/0).
              [INFO] [udev]: Plugged pad: ACRUX USB GAME PAD (4544:21763) on port #1.
              [INFO] [udev]: Pad #1 (/dev/input/event12) supports 0 force feedback effects.
              [INFO] [Autoconf]: 1 profiles found.
              [INFO] [Autoconf]: selected configuration: /home/richard/.config/retroarch/autoconfig/ACRUX USB GAME PAD.cfg
              [INFO] [Joypad]: Found joypad driver: "udev".
              ...
              

              Try adding to your /opt/retropie/configs/all/retroach.cfg:

              input_player1_joypad_index = 2
              input_player2_joypad_index = 3
              

              and see if it makes a difference.

              R 1 Reply Last reply Reply Quote 0
              • R
                Richyuk @mitu
                last edited by

                @mitu No luck, new log output here; https://pastebin.com/cdYGRuQY

                :(

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

                  Can you open the RGUI (press F1 on the keyboard) and then go to Settings -> Input -> Port 1 Binds and check the Device Index option ? If it's not one of the gamepads, try to cycle between the available values to set to your gamepad.

                  1 Reply Last reply Reply Quote 0
                  • R
                    Richyuk
                    last edited by

                    Thanks I’ll try! Is there another way to access that menu? My keyboard doesn’t work on retropie, only in the games 😂

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

                      You should press F1 while in-game to open up the RGUI (RetroArch's menu).

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        Richyuk @mitu
                        last edited by Richyuk

                        @mitu Thanks for your continued support.

                        So this was configured (keyboard)

                        https://postimg.cc/tYKv1Wp7

                        I changed it to this (joypad)

                        https://postimg.cc/21LB99b8

                        (I know the config is saving, I enabled save on edit, and because I set another property (Audio mute), and that took fine when I started a game.

                        However when I start the emulator I see this;

                        https://postimg.cc/2bSWGkng

                        And the joypad still doesn't work in game, but the keyboard does.

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

                          @Richyuk said in Laptop install, cant stop keyboard from being player 1 on PSX:

                          And the joypad still doesn't work in game, but the keyboard does.

                          Even if you change the Port 1 bindings and assign the gamepad to it ?

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            Richyuk @mitu
                            last edited by

                            @mitu yep!

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

                              Does this happen for PS1 only or for all game systems ? Some PS1 games which have analog pad support will not work when the gamepad is not configured as such - https://retropie.org.uk/docs/Playstation-1/#the-controller-problem-digital-only-analog.

                              1 Reply Last reply Reply Quote 0
                              • xboxisoX
                                xboxiso
                                last edited by

                                Was this ever resolved? I have run into a very similar issue with my Sony Vaio SVE1511RFXB laptop.

                                1 Reply Last reply Reply Quote 0
                                • ClydeC
                                  Clyde
                                  last edited by

                                  Since it wasn't mentioned here before, the joystick selection script by @meleu may be worth a try. It works very reliably for me.

                                  xboxisoX 1 Reply Last reply Reply Quote 0
                                  • xboxisoX
                                    xboxiso @Clyde
                                    last edited by

                                    @Clyde Thank you. I installed this per the link you provided, but Joystick Selection does not appear for me under Manage experimental packages. I am on lubuntu 20.04 and using RetroPie X86. Did you install this on RetroPie X86 or a rasberrypi? Unfortunately this didn't work for me on linux. It does seem that this could resolve the issue I'm experiencing if it's possible to install this on linux.

                                    1 Reply Last reply Reply Quote 0
                                    • ClydeC
                                      Clyde
                                      last edited by Clyde

                                      After the installation, your "Retropie" menu in Emulation Station should have a new entry "Joystick Selection". (edit: After reading the instructions myself again, you're right, it should appear in the experimental packages).

                                      I'm using it on my Raspberry Pi 3B, my Pi 4B, on a normal X86 pc running Kubuntu 18.04, and on my Laptop running KDE Neon 18.04. So, I can confirm that it works on Linux for X86, but I don't have any experience on (K)Ubuntu 20.04 yet.

                                      What exact steps did you take to install the script?

                                      1 Reply Last reply Reply Quote 0
                                      • xboxisoX
                                        xboxiso
                                        last edited by

                                        Hi Clyde. I'm really glad to hear it works on RetroPieX86. Perhaps I just did something wrong then. I'm totally new to both RetroPie and Linux. All I did to install was enter this into terminal:

                                        wget -O- "https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh" | sudo bash

                                        Was there more I was supposed to do?

                                        Thank you so much for all of your help.

                                        1 Reply Last reply Reply Quote 0
                                        • ClydeC
                                          Clyde
                                          last edited by Clyde

                                          That should be all, actually. And you really don't have an entry „Joystick Selection“ under „Retropie“ in Emulation Station afterwards? You should have these files:

                                          /home/pi/RetroPie/retropiemenu/joystick_selection.sh
                                          /home/pi/RetroPie/retropiemenu/icons/joystick_selection.png
                                          /opt/retropie/configs/all/joystick-selection.cfg
                                          /opt/retropie/supplementary/joystick-selection
                                          /opt/retropie/supplementary/joystick-selection/joystick_selection.sh
                                          /opt/retropie/supplementary/joystick-selection/jsfuncs.sh
                                          /opt/retropie/supplementary/joystick-selection/jslist                                                                                                                                                                                              
                                          /opt/retropie/supplementary/joystick-selection/retropie.pkg                                                                                                                                                                                        
                                          

                                          edit: You can list all related files and directories with this command:

                                          locate "joystick" | grep --color=never selection
                                          

                                          (I chose this over a simple locate joystick-selection to get the "joystick_selection" with an underscore, too. The --color=never is to avoid the coloured output from grep.)

                                          xboxisoX 1 Reply Last reply Reply Quote 0
                                          • xboxisoX
                                            xboxiso @Clyde
                                            last edited by

                                            @Clyde I looked and can't find these directories on my system. I installed this by entering the above mentioned line in terminal. RetroPie was not running. Was I supposed to add that line in RetroPie somehow?

                                            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.