Skip to content

Instantly share code, notes, and snippets.

@floreo
Last active April 12, 2018 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floreo/be4db3b18d80a180c95c39e58a9ad8de to your computer and use it in GitHub Desktop.
Save floreo/be4db3b18d80a180c95c39e58a9ad8de to your computer and use it in GitHub Desktop.
xbox360 controllers with xboxdrv
#!/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 &
@brandleesee
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment