Raspberry pi default controller driver messes up the ps3/ controller
Raspberry pi default controller driver messes up the ps3/ controller
The raspberry pi automatically makes.the ps3 controller a mouse cursor controller witch changes the driver input is there a way I can disable the drivers?(raspbian)
- kaiba_seto2004
- Posts: 553
- Joined: Sat Jul 15, 2017 9:15 am
Re: Raspberry pi default controller driver messes up the ps3/ controller
Try this command and retest
Code: Select all
sudo apt-get remove xserver-xorg-input-joystick
PS4 enthusiast.
Re: Raspberry pi default controller driver messes up the ps3/ controller
Tryed it but didn't work
- kaiba_seto2004
- Posts: 553
- Joined: Sat Jul 15, 2017 9:15 am
Re: Raspberry pi default controller driver messes up the ps3/ controller
That's weird, you can try a pre-build image Raspbian.
PS4 enthusiast.
Re: Raspberry pi default controller driver messes up the ps3/ controller
On recent kernel (>=4.13), ds3 is seen as a mouse. You can launch this command to disable it:
/usr/bin/xinput set-prop 'Sony PLAYSTATION(R)3 Controller' 'Device Enabled' 0
/usr/bin/xinput set-prop 'Sony PLAYSTATION(R)3 Controller' 'Device Enabled' 0
Re: Raspberry pi default controller driver messes up the ps3/ controller
If you want persistence you can do something like this:
(beware: untested)
GIMX does something similar in the postinst script of the debian package:
https://github.com/matlo/GIMX-build/blo ... stinst#L16
Code: Select all
mkdir -p /etc/X11/xorg.conf.d
echo "Section \"InputClass\"
Identifier \"Dualshock controllers\"
MatchUSBID \"054c:0268|054c:05c4|054c:09cc\"
Option \"Ignore\" \"true\"
EndSection" > /etc/X11/xorg.conf.d/dualshock.conf
GIMX does something similar in the postinst script of the debian package:
https://github.com/matlo/GIMX-build/blo ... stinst#L16
GIMX creator