Support for Xbox360 pad on Linux
This is just really easy, the Xbox linux project already has included support for this pad so it’s only needed to download two files ( xpad.h and xpad.c) and you’re almost done.
For building it I found two different options, the first and maybe the easiest is to put them on your current kernel tree replacing the existing ones and then make modules && make modules_install (after configuring the kernel properly, USB support, (old) Xbox pad support…). And the second one is to get this Makefile, put it on a folder with the previously downloaded files, then execute make and copy the built module under /lib/modules/`uname -r`/the_folder_you_wish I use the extra directory created by some Gentoo ebuilds.
So…that’s it, update your modules information with depmod and load the modules…you’re done