Raspberry pi default controller driver messes up the ps3/ controller

General Chat, Feel Free To talk about anything here.
Post Reply
lolgg2ez
Posts: 13
Joined: Sat Oct 13, 2018 6:17 am

Raspberry pi default controller driver messes up the ps3/ controller

Post by lolgg2ez »

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)

User avatar
kaiba_seto2004
Posts: 436
Joined: Sat Jul 15, 2017 9:15 am

Re: Raspberry pi default controller driver messes up the ps3/ controller

Post by kaiba_seto2004 »

Try this command and retest

Code: Select all

sudo apt-get remove xserver-xorg-input-joystick
PS4 enthusiast.

lolgg2ez
Posts: 13
Joined: Sat Oct 13, 2018 6:17 am

Re: Raspberry pi default controller driver messes up the ps3/ controller

Post by lolgg2ez »

Tryed it but didn't work

User avatar
kaiba_seto2004
Posts: 436
Joined: Sat Jul 15, 2017 9:15 am

Re: Raspberry pi default controller driver messes up the ps3/ controller

Post by kaiba_seto2004 »

That's weird, you can try a pre-build image Raspbian.
PS4 enthusiast.

m121
Posts: 16
Joined: Fri Oct 05, 2018 12:37 pm

Re: Raspberry pi default controller driver messes up the ps3/ controller

Post by m121 »

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

User avatar
Matlo
Posts: 5680
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Raspberry pi default controller driver messes up the ps3/ controller

Post by Matlo »

If you want persistence you can do something like this:

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
(beware: untested)

GIMX does something similar in the postinst script of the debian package:
https://github.com/matlo/GIMX-build/blo ... stinst#L16
GIMX creator Donate Shop

Post Reply