winejoystick.drv: Implement POV support

Vincent Pelletier plr.vincent at
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.
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 : 

More information about the wine-patches mailing list