[mythtv-users] Joystick usage with mythtv & PC games
Jesse Guardiani
jesse at wingnet.net
Wed Feb 15 15:47:01 UTC 2006
Jesse Guardiani wrote:
> See attached for mine. Note that it's for an xpad driver based on
> version 0.1.5. It probably won't work with the xpad.c
> that ships with the kernel because that version of xpad.c is very very
> old. And it probably won't work with
> the xpad.c from the xbox-linux site because I use a few custom patches
> to make the L/R triggers show up
> as real buttons not just axis, so you'll probably have to tweak it a
> bit. (especially the devicename)
>
> I use libjsw's jscalibrator program to glean the button and axis
> numbers. Check here for the version
> of xpad.c that I'm talking about:
>
> http://cvs.xbox-linux.org/viewcvs.py/xbox-linux/kernel-2.6/drivers/usb/input/xpad.c?rev=1.22&view=log
>
>
> Actually, it's open source, so I'll just attach the version of xpad.c
> that I use. Just save the attached
> xpad.c and Makefile to a dir on your machine and type 'make'. Then
> overwrite the "live" version
> of your xpad.ko with the version you just made. (use `locate xpad.ko`
> to find the "live" version. Should
> be somewhere in /lib/modules) Then either reboot or `rmmod xpad &&
> modprobe xpad`.
No, sorry, I got confused and sent the wrong version. See attached for
the real version with the button changes.
It's against the latest 0.1.6. And I've submitted the patch to the
xbox-linux folks.
--
Jesse Guardiani
Programmer/Sys Admin
jesse at wingnet.net
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xpad.c
Url: http://mythtv.org/pipermail/mythtv-users/attachments/20060215/e8356710/xpad-0001.diff
More information about the mythtv-users
mailing list