Laptop install, cant stop keyboard from being player 1 on PSX
-
@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 ? -
@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
-
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 ?
-
@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.
-
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. -
Sure, done. Please see here; https://pastebin.com/a76jk10B
-
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.
-
@mitu No luck, new log output here; https://pastebin.com/cdYGRuQY
:(
-
Can you open the RGUI (press F1 on the keyboard) and then go to
Settings -> Input -> Port 1 Binds
and check theDevice Index
option ? If it's not one of the gamepads, try to cycle between the available values to set to your gamepad. -
Thanks I’ll try! Is there another way to access that menu? My keyboard doesn’t work on retropie, only in the games 😂
-
You should press F1 while in-game to open up the RGUI (RetroArch's menu).
-
@mitu Thanks for your continued support.
So this was configured (keyboard)
I changed it to this (joypad)
(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;
And the joypad still doesn't work in game, but the keyboard does.
-
@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 ?
-
@mitu yep!
-
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.
-
Was this ever resolved? I have run into a very similar issue with my Sony Vaio SVE1511RFXB laptop.
-
Since it wasn't mentioned here before, the joystick selection script by @meleu may be worth a try. It works very reliably for me.
-
@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.
-
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?
-
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.
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.