Prohibit gamepad from moving mouse cursor in games

Forum Forums General Tips and Tricks Prohibit gamepad from moving mouse cursor in games

  • This topic has 0 replies, 1 voice, and was last updated Apr 21-1:01 pm by christophe.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #20614
    Moderator
    christophe

      Prohibit your gamepad from moving the mouse cursor in games:

      Create the file /etc/X11/xorg.conf.d/51-joystick.conf as follows:

      Section “InputClass”
      Identifier “joystick catchall”
      MatchIsJoystick “on”
      MatchDevicePath “/dev/input/event*”
      Driver “joystick”
      Option “StartKeysEnabled” “False”
      #Disable mouse
      Option “StartMouseEnabled” “False”
      #support
      EndSection

      Save & close file. I had to reboot, but thereafter it worked perfectly.

      • This topic was modified 4 months, 2 weeks ago by christophe. Reason: I originally botched-up the directory location. Now fixed

      confirmed antiX frugaler, since 2019

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.