From: William Pettersson <enigma@strudel-hound.com>
To: linux-kernel@vger.kernel.org
Subject: [patch] xpad driver - incorrect axis settings
Date: Fri, 17 Sep 2004 18:47:08 +1000 [thread overview]
Message-ID: <1095410828.2097.11.camel@enigmas> (raw)
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
Hi,
Seems the xpad (xbox controller) driver, whilst functioning, reported
down as up, and up as down, on the analogue joysticks for the xpad.
Also the L and R triggers were implemented as axis, rather than buttons.
This patch fixes up both of those issues. I'm yet to have any people
have any errors with it, although not many people have tested it. Also
it seems weird that the driver would be reported functioning if the axis
were inverted, so it might be just an issue with the S controllers from
Microsoft. I tried contacting the maintainer, but got no response from
his email account.
Here's a patch, which patches against most 2.6 kernels, including
2.6.8.1 and 2.6.9, and inverts the axis and fixes the buttons
http://www.strudel-hound.com/xpad-0.6.patch
As soon as I can find an original xbox controller, I'll test it out with
my driver to see what it does. Until then, are there any changes anyone
could suggest? Or if anyone could test it out with an actual original
xbox controller, or any xbox controller for that matter, it would be
great. I'm willing to listen to any advice or demands or insults, I am
not an experience programmer and will make mistakes
William
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2004-09-17 8:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1095410828.2097.11.camel@enigmas \
--to=enigma@strudel-hound.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®