How can I use the XBOX joystick in my own linux apps?
The xpad is (as Bram stated earlier) just a driver following the standard input subsystem conventions. If you load it and it detects an XBOX-Controller (S-version should be OK, too), you can use it as you would use any joystick device under linux. See linux/Documentation/ for details on that. BTW, the current version (0.0.6, as opposed to 0.0.5 that is included in the 2.5 series kernel) reports 10 digital buttons plus the 6 buttons on the right side as analog ones. The digital buttons are mapped to BUTTON_A, _B, _C (the black one) and _X, _Y, _Z (the white one). The analog ones are mapped to hat switches (as I had to find some reasonable mapping for the 16 axes the 0.0.6 driver supports). Just implement linux joystick support and you can use any input device that follows that api.