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

      Please add more info about your system, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
      Did you configure your gamepads/joypads in EmulationStation ?

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

        Thanks for the reply;

        Pi Model or other hardware: Sony Vaio VPCSB
        RetroPie Version Used: 4.5.16 (x86 running on Ubuntu 19.10)
        Built From: Onto of existing OS with 'git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git'
        USB Devices connected: x2 Acrux Joypads
        Controller used:ACRUX PS3 USB
        Error messages received: None
        Log found in /dev/shm/runcommand.log (if relevant): No logs shown in here other than RAM usage.
        Guide used: (Mention if you followed a guide)
        File: (File with issue - with FULL path)
        Emulator: lr-pcsx-rearmed

        Yes, they're configured in EmulationStation at this point; https://i.postimg.cc/zv5gB7Jh/IMG-0566.jpg

        3 must be x2 Joypads and x1 Keyboard

        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:

          3 must be x2 Joypads and x1 Keyboard

          I'm not sure, but I think it might be something else. Can you run cat /proc/bus/input/devices and post the result ehre, surrounded by code tags (```) so we can see how maby gamepads are detected ?

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

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

            cat /proc/bus/input/devices

            Sure, it definitely is two gamepads and one keyboard. If i press a button on either of the gamepads, it shows the gamepad name. If i press a button on the keyboard it comes up 'keyboard'.

            I: Bus=0019 Vendor=0000 Product=0005 Version=0000
            N: Name="Lid Switch"
            P: Phys=PNP0C0D/button/input0
            S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
            U: Uniq=
            H: Handlers=event0 
            B: PROP=0
            B: EV=21
            B: SW=1
            
            I: Bus=0019 Vendor=0000 Product=0001 Version=0000
            N: Name="Power Button"
            P: Phys=PNP0C0C/button/input0
            S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
            U: Uniq=
            H: Handlers=kbd event1 
            B: PROP=0
            B: EV=3
            B: KEY=10000000000000 0
            
            I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
            N: Name="AT Translated Set 2 keyboard"
            P: Phys=isa0060/serio0/input0
            S: Sysfs=/devices/platform/i8042/serio0/input/input2
            U: Uniq=
            H: Handlers=sysrq kbd event2 leds 
            B: PROP=0
            B: EV=120013
            B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
            B: MSC=10
            B: LED=7
            
            I: Bus=0003 Vendor=11c0 Product=5503 Version=0111
            N: Name="ACRUX USB GAME PAD"
            P: Phys=usb-0000:00:1d.0-1.2/input0
            S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:11C0:5503.0001/input/input5
            U: Uniq=
            H: Handlers=event3 js0 
            B: PROP=0
            B: EV=1b
            B: KEY=1fff000000000000 0 0 0 0
            B: ABS=30027
            B: MSC=10
            
            I: Bus=0003 Vendor=11c0 Product=5503 Version=0111
            N: Name="ACRUX USB GAME PAD"
            P: Phys=usb-0000:00:1d.0-1.3/input0
            S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:11C0:5503.0002/input/input6
            U: Uniq=
            H: Handlers=event4 js1 
            B: PROP=0
            B: EV=1b
            B: KEY=1fff000000000000 0 0 0 0
            B: ABS=30027
            B: MSC=10
            
            I: Bus=0011 Vendor=0002 Product=0008 Version=0300
            N: Name="AlpsPS/2 ALPS GlidePoint"
            P: Phys=isa0060/serio1/input0
            S: Sysfs=/devices/platform/i8042/serio1/input/input4
            U: Uniq=
            H: Handlers=mouse0 event5 
            B: PROP=9
            B: EV=b
            B: KEY=e420 70000 0 0 0 0
            B: ABS=260800001000003
            
            I: Bus=0010 Vendor=104d Product=0000 Version=0000
            N: Name="Sony Vaio Keys"
            P: Phys=
            S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/SNY5001:00/input/input7
            U: Uniq=
            H: Handlers=rfkill kbd event6 
            B: PROP=0
            B: EV=13
            B: KEY=1fd2030000 c00000000 10010000000000 200000000 600f00102c00 8380000240300400 e108000000000 0
            B: MSC=10
            
            I: Bus=0010 Vendor=104d Product=0000 Version=0000
            N: Name="Sony Vaio Jogdial"
            P: Phys=
            S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/SNY5001:00/input/input8
            U: Uniq=
            H: Handlers=mouse1 event7 
            B: PROP=0
            B: EV=7
            B: KEY=40000 0 0 0 0
            B: REL=100
            
            I: Bus=0019 Vendor=0000 Product=0006 Version=0000
            N: Name="Video Bus"
            P: Phys=LNXVIDEO/video/input0
            S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:26/LNXVIDEO:00/input/input9
            U: Uniq=
            H: Handlers=kbd event8 
            B: PROP=0
            B: EV=3
            B: KEY=3e000b00000000 0 0 0
            
            I: Bus=0019 Vendor=0000 Product=0006 Version=0000
            N: Name="Video Bus"
            P: Phys=LNXVIDEO/video/input0
            S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:09/input/input10
            U: Uniq=
            H: Handlers=kbd event9 
            B: PROP=0
            B: EV=3
            B: KEY=3e000b00000000 0 0 0
            
            I: Bus=0003 Vendor=04f2 Product=b26d Version=3055
            N: Name="USB2.0 Camera: USB2.0 Camera"
            P: Phys=usb-0000:00:1a.0-1.3/button
            S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input11
            U: Uniq=
            H: Handlers=kbd event10 
            B: PROP=0
            B: EV=3
            B: KEY=100000 0 0 0
            
            I: Bus=0000 Vendor=0000 Product=0000 Version=0000
            N: Name="HDA Intel PCH Headphone"
            P: Phys=ALSA
            S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input12
            U: Uniq=
            H: Handlers=event11 
            B: PROP=0
            B: EV=21
            B: SW=4
            
            I: Bus=0000 Vendor=0000 Product=0000 Version=0000
            N: Name="HDA Intel PCH HDMI/DP,pcm=3"
            P: Phys=ALSA
            S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input13
            U: Uniq=
            H: Handlers=event12 
            B: PROP=0
            B: EV=21
            B: SW=140
            
            I: Bus=0000 Vendor=0000 Product=0000 Version=0000
            N: Name="HDA Intel PCH HDMI/DP,pcm=7"
            P: Phys=ALSA
            S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input14
            U: Uniq=
            H: Handlers=event13 
            B: PROP=0
            B: EV=21
            B: SW=140
            
            
            1 Reply Last reply Reply Quote 0
            • 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
                                            • 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.