所以我有一个 Kabalo Gaming Vibration Racing 方向盘用于赛车。它工作得很好,但我有一个问题。它可以移动鼠标,并延伸到屏幕的中心。我该如何禁用它,以便它不能移动我的鼠标?使用 Kubuntu 16.04
答案1
乔纳森的回答不再有效。(ubuntu 18.04)
将“False”替换为“off”(小字符!!)
添加或更改 /usr/share/X11/xorg.conf.d/50-joystick.conf 为以下内容:
Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option "StartKeysEnabled" "off" # Disable mouse support of joypad
Option "StartMouseEnabled" "off"
EndSection
答案2
刚刚弄清楚了。创建并编辑一个新的文本文件,/user/share/X11/xorg.conf.d/50-joystick.conf
内容如下:
Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option “StartKeysEnabled” “False” #Disable mouse
Option “StartMouseEnabled” “False” #support
EndSection