#!/bin/bash
# There is some problem with ERTM enabled and XBox controllers connected via Bluetooth
# Run this script, then pair your controller and it should work.
echo 1 > /sys/module/bluetooth/parameters/disable_ertm