xone
It’s software for xbox controller to work in linux
installation
# clone
git clone https://github.com/medusalix/xone
# cd and install
cd xone
sudo ./install.sh --release
# download the firmware for the dongle
sudo xone-get-firmware.sh
# plug in the dongle/controller
updating
# uninstall it
sudo ./uninstall.sh
# go back and install it again