The expanses of WolfWings' land
scratched on the wall for all to see


April 30th, 2009
April 30th, 2009
April 30th, 2009
April 30th, 2009
April 30th, 2009

[User Picture]11:22 am - Well it's not perfect... but it works at least.
Not of THAT much use except perhaps to illustrate a simple PThread system with rudimentary triple-buffering, since I'll be rolling this information into some work I'm doing modifying the existing 'Sony Quirks' HID Driver for the Linux kernel to use a similair reporting metric instead of the '28 axis and 19 buttons, many of which either duplicate information or are ALWAYS zero' morass the stock controller returns.

Mind you, many games don't like applying an analog button to a digital action, but I find that to be their problem, not mine. Now to figure out how to report these axes mappings using the HID spec...

Last note, this is also an attempt at trying to apply both Literate Programming and the Linux Kernel Specs (which are remarkably similair to my own, and I understand the reasons for the differences and think they're better so I'll adopt them) so if anyone wants to glance over the code, feel free. The 'test.c' file was quite a bit more slapdash than the rest that I actually tried to polish up as much as I could, and the Makefile is so short and simple as to be ignorable.

PThreaded SixAxis HIDRAW interface kit0 commentsLeave a comment
?

Log in

No account? Create an account