How to set a new Gamepad?

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mb7

How to set a new Gamepad?

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
ugly
Level 5
Level 5
Posts: 592
Joined: Thu Nov 24, 2016 9:17 pm

Re: How to set a new Gamepad?

Post 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
mb7

Re: How to set a new Gamepad?

Post by mb7 »

What you did? When I connect the gamepad it dosen't work.
User avatar
ugly
Level 5
Level 5
Posts: 592
Joined: Thu Nov 24, 2016 9:17 pm

Re: How to set a new Gamepad?

Post 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.
Locked

Return to “Hardware Support”