From: Zachary L <admin@computerquip.com>
To: linux-input@vger.kernel.org
Subject: Xbox Controllers: Should hid be used?
Date: Wed, 8 Oct 2014 07:09:40 +0000 (UTC) [thread overview]
Message-ID: <loom.20141008T082724-46@post.gmane.org> (raw)
Other 3rd party drivers (and seemingly Microsoft's driver as well) uses HID to
describe the [any Xbox] controller's features. We can see uses of this in other
drivers:
TattieBogle -
http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/OsxDriver
XBCD - http://www.redcl0ud.com/xbcd.html
Xpad has avoided the use of the hid subsystem for whatever reason, for over a
decade now. That said, I don't know of any compelling reason to not avoid it.
But I did it anyways... I made a small usb driver, implemented a stub
hid_ll_driver, copied the descriptor from TattieBogle... and it works... sort
of.
The button layout is obviously different from what we have now and I cannot get
the D-pad working using a Hat Switch usage or the D-pad usages to save my life.
I realize that just because other drivers use HID, doesn't mean I should
although perhaps there's a compelling reason that I'm missing. Is there any
worth to this work?
What I have is bare bones but works for (incorrectly mapped, using
TattieBogle's report descriptor) input: https://github.com/computerquip/xpad4
Any feedback would be appreciated.
reply other threads:[~2014-10-08 7:10 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=loom.20141008T082724-46@post.gmane.org \
--to=admin@computerquip.com \
--cc=linux-input@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