感谢万能的ArchWiki,无论什么问题都能在上面找到答案(ゝ∀・)

只要编辑/etc/X11/xorg.conf.d/50-joystick文件(没有就创建一个),把手柄控制鼠标功能禁用掉就好了:

1
2
3
4
5
6
7
8
Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option "StartKeysEnabled" "False" #Disable mouse
Option "StartMouseEnabled" "False" #support
EndSection

编辑完成之后重启X即可(σ゚∀゚)σ