ds4drv icon indicating copy to clipboard operation
ds4drv copied to clipboard

jstest does not report keypresses on device created with ds4drv

Open buha opened this issue 9 years ago • 4 comments

$ uname -r
4.9.13-1-MANJARO

$ cat /etc/udev/rules.d/50-ds4drv.rules
KERNEL=="uinput", MODE="0666"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:054C:05C4.*", MODE="0666"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:054C:09CC.*", MODE="0666"

# By plugging the DS4 controller, I get this
$ ls -l /dev/input/by-id/ | grep Controller
lrwxrwxrwx 1 root root  9 Mar  4 11:59 usb-Sony_Interactive_Entertainment_Wireless_Controller-if03-event-joystick -> ../event1
lrwxrwxrwx 1 root root  6 Mar  4 11:59 usb-Sony_Interactive_Entertainment_Wireless_Controller-if03-joystick -> ../js0

At this point I launch ds4drv (tried with --hidraw as well) and it creates another device at /dev/input/js1. The problem is that jstest / jstest-gtk dont pick any keypresses on the .../js1, only the original `.../js0' shows action.

Any idea how to get this working?

buha avatar Mar 04 '17 11:03 buha

Is this similar to my issue?

itskando avatar Mar 04 '17 20:03 itskando

Hard for me to tell because I don't have this retropie thing. In any case, your ghost controller term applies well to what I experience...

In the meantime I played some games over bluetooth, works fine. But over USB it's still the same as above.

buha avatar Mar 20 '17 19:03 buha

@buha

Guh —
I'm jealous.
No bluetooth capability for me.

itskando avatar Mar 20 '17 19:03 itskando

Make sure you have at least a bluetooth 2.1 adapter connected to your Pi Make sure pairing is ok I simply run ds4drv and it works for me. Maybe I'm lucky, yeah

buha avatar Mar 28 '17 18:03 buha