X-Box gamepad support

modulename: xpad.ko

configname: CONFIG_JOYSTICK_XPAD

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Joysticks/Gamepads
└─>X-Box gamepad support
In linux kernel since version 2.6.24 (release Date: 2008-01-24)  
Say Y here if you want to use the X-Box pad with your computer.
Make sure to say Y to "Joystick support" (CONFIG_INPUT_JOYDEV)
and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well.

For information about how to connect the X-Box pad to USB, see
Documentation/input/xpad.txt.

To compile this driver as a module, choose M here: the
module will be called xpad.

source code: