Page 1 of 1

How to set a new Gamepad?

Posted: Mon Feb 19, 2018 1:10 am
by mb7
My XBOX 360 Controller works out of the box and it works perfect. I order 2x Mi Gamepads but Mint 18.3 recognize as mouse :(

#5 here http://en.miui.com/thread-415699-1-1.html

I find a solution but I have no idea how to set up. Can somebody hep me, please?

Regards

Re: How to set a new Gamepad?

Posted: Mon Feb 19, 2018 1:38 am
by ugly
I have the Mi gamepad. It works well.

But this is what I had to do to prevent the controller moving the mouse cursor: https://wiki.archlinux.org/index.php/Ga ... ling_mouse

Re: How to set a new Gamepad?

Posted: Mon Feb 19, 2018 9:08 pm
by mb7
What you did? When I connect the gamepad it dosen't work.

Re: How to set a new Gamepad?

Posted: Tue Feb 20, 2018 1:38 am
by ugly
What I had to do to get the gamepad to stop controlling the mouse was to open a terminal.

In the terminal type:

Code: Select all

gksudo xed /etc/X11/xorg.conf.d/51-joystick.conf
Then in the text editor that opens, paste the following:

Code: Select all

Section "InputClass"
        Identifier "joystick catchall"
        MatchIsJoystick "on"
        MatchDevicePath "/dev/input/event*"
        Driver "joystick"
        Option "StartKeysEnabled" "False"       #Disable mouse
        Option "StartMouseEnabled" "False"      #support
EndSection
When you reboot, it should work.