ValveSoftware / SteamOS

SteamOS community tracker
1.59k stars 70 forks source link

WiiU Pro Controller controls mouse cursor #461

Open Vash63 opened 8 years ago

Vash63 commented 8 years ago

With the default configuration, pairing a WiiU Pro Controller causes the left joystick to function both as a joystick and a mouse simultaneously. I was able to fix this by adding a match rule to an Xorg.conf as below, but it would be great if this was upstreamed or a better fix added to SteamOS so that the controller would work 'out of the box'.

Stolen Xorg.conf file from Ubuntu Wiki

Section "InputClass"
        Identifier "joystick catchall"
        MatchIsJoystick "on"
        MatchDevicePath "/dev/input/event*"
        Driver "joystick"
        Option "StartKeysEnabled" "False"       #Disable mouse
        Option "StartMouseEnabled" "False"      #support
EndSection
Plagman commented 8 years ago

We'll look into this to make sure this controller works well out of the box, thanks.

mmolignano commented 8 years ago

@Vash63 I don't seem to have an Xorg.conf file by default (at least not in /etc/X11). Did you just create a new one and only add the configuration you posted above to it?

Tele42 commented 8 years ago

@mmolignano yes, any X config section that is not in xorg.conf is autoconfigured on start of X, making it unneeded in many scenarios.

NOTE: I personally have not touched this kind of controller config.

stepotronic commented 7 years ago

I would like to add that for me the installation of xserver-xorg-input-xwiimote triggered it. Removing it solved the issue. It was also not neccessary to install it for wiiu pro controllers as some tutorials suggested.