XBOX360 CONTROLLER
Not bad these days!
Very simple setup. You will need to enable ELRepo for the kernel module packages to be found.
[andrew@big-red-wireless Desktop]$ sudo yum info kmod-joydev kmod-xpad
[sudo] password for andrew:
Loaded plugins: langpacks, product-id, subscription-manager
Installed Packages
Name : kmod-joydev
Arch : x86_64
Version : 0.0
Release : 1.el7.elrepo
Size : 43 k
Repo : installed
From repo : elrepo
Summary : joydev kernel module(s)
URL : http://www.kernel.org/
License : GPLv2
Description : This package provides the joydev kernel module(s) built
: for the Linux kernel using the x86_64 family of processors.
Name : kmod-xpad
Arch : x86_64
Version : 0.0.6
Release : 3.el7.elrepo
Size : 49 k
Repo : installed
From repo : elrepo
Summary : xpad kernel module(s)
URL : http://www.kernel.org/
License : GPLv2
Description : This package provides the xpad kernel module(s) built
: for the Linux kernel using the x86_64 family of processors.
[andrew@big-red-wireless Desktop]$
NSTALL ELREPO
sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
sudo rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
INSTALL NEEDED PACKAGES
sudo yum install kmod-xpad kmod-joydev
RUN MODPROBE OR REBOOT TO LOAD THE MODULES
sudo modprobe joydev
sudo modprobe xpad
CONFIGURE/CALIBRATE THE JOYSTICK
sudo jscal -c /dev/input/js0
Here are the axis that it will need your input on calibrating:
- Axis 0 Left analog stick left/right
- Axis 1 Left analog stick up/down
- Axis 2 Left paddle
- Axis 3 Right analog stick left/right
- Axis 4 Right analog stick up/down
- Axis 5 Right paddle
MAKE THE SETTINGS PERMANENT
su -c 'jscal -p /dev/input/js0 && /etc/jscal-xbox.cal'
su -c 'echo source /etc/jscal-xbox.cal && /etc/rc.d/rc.local'