winejoystick.drv: Implement POV support
plr.vincent at gmail.com
Sat Jan 17 06:01:05 CST 2009
The code generating "discrete" values uses raw numbers istead of defined
values, because they exist only for 4 directions and (on the contrary of what
is advertised by MSDN) JOY_RETURNPOV also reports diagonal angles (verified
on vista 32 bits, with joytester.exe). I believe it's easier to see the
correlations between values this way.
JOYCAPS_POVCTS support, requiring some trigonometry functions and a joystick
reporting "analog" POV coordinates.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2617 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090117/4b2f45b7/attachment-0001.patch
More information about the wine-patches