winejoystick.drv: Implement POV support

Vincent Pelletier plr.vincent at gmail.com
Sat Jan 17 06:01:05 CST 2009


Note:
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.

TODO:
  JOYCAPS_POVCTS support, requiring some trigonometry functions and a joystick
  reporting "analog" POV coordinates.
-- 
Vincent Pelletier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Implement-POV-support.patch
Type: text/x-diff
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 mailing list