flopoloco's picture

MouseDevice.cs - Fixes

Hi there, it seems that there are some bugs with property XDelta (deltas generally) from MouseDevice class. Sometimes it will never reach zero, even if you hold the mouse steady... I tried the delta algorithm with OpenTK's "Mouse.X" attributes (last and current) and it works fine.

Look in attached example:


MouseTest.rar303.75 KB


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Confirmed. I'm not sure how this went unnoticed for so long, I'll fix it for 0.9.1.

Thanks for reporting!

Edit: Btw, there's no need to add OpenTK.dll into the zip file. There's a 2MB size limit to uploads :)

flopoloco's picture

Oops, I did not notice that (it's done automatically) :P