The documentation on the SDL doc project states that joystick axes are
"16-bit signed integers" that “range from 32768 to -32768”. I would
assume that this should be “32767 to -32768”, but before adding a
comment to the docs, I took a look at the code.
Running through the joystick code in the SDL12 CVS, it looks like the
backends operate inconsistently. For example, the Linux back end
returns a value ranging from 32767 to -32767, and the Windows back end
returns a value ranging from 32767 to -32768.
In any event, the docs definintely aren’t correct as-is.
Thanks for the library, Sam. It’s awfully helpful.–
Best of luck,
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Size: 189 bytes
Desc: not available