Skip to content

Instantly share code, notes, and snippets.

@floreo floreo/
Last active Apr 12, 2018

What would you like to do?
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 &

This comment has been minimized.

Copy link

commented Apr 12, 2018

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
You can’t perform that action at this time.