Last active
April 12, 2018 15:31
-
-
Save floreo/be4db3b18d80a180c95c39e58a9ad8de to your computer and use it in GitHub Desktop.
xbox360 controllers with xboxdrv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# apt install xboxdrv | |
# added at session opening | |
# visudo -f /etc/sudoers.d/xbox360 | |
# floreo ALL = (root) NOPASSWD: /usr/bin/xboxdrv | |
sudo xboxdrv --daemon --dbus session \ | |
-i 0 --wid 0 --detach-kernel-driver --mimic-xpad \ | |
--next-controller -i 0 --wid 1 --detach-kernel-driver --mimic-xpad \ | |
--next-controller -i 0 --wid 2 --detach-kernel-driver --mimic-xpad \ | |
--next-controller -i 0 --wid 3 --detach-kernel-driver --mimic-xpad &>/dev/null & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Floreo, could I please ask you to explain what this gist does?
I am currently unable to use 2 Xbox 360 Wireless pads and am looking everywhere for tips and help.
Thank you.