How do I disable joystick input?

6,875

If your actual issue is that your Microsoft keyboard gets recognized as a joystick, you are not alone, it affects several people.

My solution for that is to download this file and save it as /etc/udev/rules.d/51-these-are-not-joysticks.rules. You can run this command on a terminal:

sudo curl -o /etc/udev/rules.d/51-these-are-not-joysticks.rules \ 
  https://gist.githubusercontent.com/denilsonsa/978f1d842cf5430f57f6/raw

Link to my GitHub Gist containing the file: https://gist.github.com/denilsonsa/978f1d842cf5430f57f6

Share:
6,875
faceless
Author by

faceless

Updated on September 18, 2022

Comments

  • faceless
    faceless over 1 year

    The file /dev/input/js0 related to joysticks is giving me some problems in games.

    I just renamed the file and everything went to normal.
    So, how do I disable joystick input? I am using Ubuntu 12.04.

    • Admin
      Admin over 11 years
      Ok, my microsoft keyboard is recognized as a joystick!!!!? How can I fix this?