Introduction
In CtkArch (maybe other distro), the joystick move the mouse cursor when the different axis are used.
Details
add or modify /etc/X11/xorg.conf.d/50-joystick.conf with the following
Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option "StartKeysEnabled" "False"
Option "StartMouseEnabled" "False"
EndSection