* Xbox Controllers: Should hid be used?
@ 2014-10-08 7:09 Zachary L
0 siblings, 0 replies; only message in thread
From: Zachary L @ 2014-10-08 7:09 UTC (permalink / raw)
To: linux-input
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-08 7:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 7:09 Xbox Controllers: Should hid be used? Zachary L
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox