1.Install the Xbox driver:
sudo apt-get install xboxdrv
2.Disable Enhanced Retransmission Mode (ERTM) on DEBIX:
echo 'options bluetooth disable_ertm=Y' | sudo tee -a /etc/modprobe.d/bluetooth.conf
3.Reboot the DEBIX:
sudo reboot
4.Open the bluetooth control tool to connect to bluetooth:
sudo bluetoothctl
scan on
connect [your Xbox Mac Address]
quit
5.Install the joystick app:
sudo apt-get install joystick
6.Install the jstest command:
sudo apt-get install jstest-gtk
7.Test if Xbox has data:
sudo jstest /dev/input/js0