Re: xpad.c patch to make triggers report as buttons as well as analog

David Pye <[email protected]> Mon, 2 Jan 2006 22:38:53 +0000
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <[email protected]>
On Monday 02 January 2006 19:20, Jesse Guardiani wrote:
> Hello,
>
> I've found myself wanting to use the Xbox controller's left and right
> triggers as non-analog buttons recently. All the other analog buttons
> support this, so why not the triggers?
>
> So I wrote a patch against the CVS version of xpad.c from today. I renamed
> the Xbox 360's additional triggers as TL2 and TR2, and named the xbox
> triggers TL and TR.
>
> This patch shifts the button mappings a bit, so anyone using it would have
> to reconfigure their games, but I like it as it allows me to use the
> triggers in snes9x and mame.
>
> NOTE: I've only tested this patch with xbox controllers, not xbox 360
> controllers as I don't have any 360 controllers.

Where's the patch?

David

-- 
-------------------------------
Your manuscript is both good and original, but 
the part that is good is not original and the part
that is original is not good. -- Samuel Johnson
-------------------------------
If it smells it's chemistry, if it crawls it's biology, 
if it doesn't work it's physics
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDuat/OIrGtzS07WgRAk19AJ983Kgt5ubEOamPwBf+pMk/Gl/BpwCgl0jf
NZSBSznFdP9fwo1BnOBNsgg=
=D+NB
-----END PGP SIGNATURE-----