What was the official fix for the mouse lag?

BlitzMax Forums/BlitzMax Programming/What was the official fix for the mouse lag?

Chroma(Posted 2010) [#1]
I've searched and some say the mouse lag is gone(it's not...) BTW, this is when drawing an image at MouseX(), MouseY() and having Flip 1.

I'm currently doing a GrabPixMap(0,0,1,1) right before Flip and that helps quite a bit. Just wondering if anyone finally solved this. Btw, it lags in DX7, DX9, and GL.


GfK(Posted 2010) [#2]
I test on four PCs (2xWin7, 1xVista, 1xXP), and don't see any lag at all.

Need more details/code.


ImaginaryHuman(Posted 2010) [#3]
For me I get some lag on my pc at work in OpenGL sometimes, usually the grabpixmap 1 pixel fixes it.


Jesse(Posted 2010) [#4]
it'll definitely go away if you create your own image mouse.


matibee(Posted 2010) [#5]
sswift had issues with mouse control in his game. It wasn't lag as such, but Windows 'pointer ballistics'. He helpfully posted some raw input code once he fixed it: http://www.blitzmax.com/Community/posts.php?topic=85660#969815


Thareh(Posted 2010) [#6]
And it's gone if you use Flip( 0 ) instead?


Chroma(Posted 2010) [#7]
It's just the general lag created by drawing a .png cursor at MouseX() and MouseY(). I've finally found a fix tho. No more lag here with any driver used. Bout darn time...


ImaginaryHuman(Posted 2010) [#8]
What fix?


Chroma(Posted 2010) [#9]
...


Galaxy613(Posted 2010) [#10]
If you found a fix, then tell us what it is.