[SDL] Slow mouse response update
serenity at nosubstancesoftware.com
Sat Mar 8 21:47:01 PST 2003
Running under Windows 2000, if I slow the frame rate between each
sdl_flip(display) call (using sdl_delay), and display both the hardware
mouse cursor (or sdl generated cursor if you like) and an image drawn at the
mouse coordinates (got using
SDL_GetMouseState) the image lags behind the sdl cursor by a considerable
This leads to a bizarre visual arrangement when you move the cursor then
stop where you see the image chase down the mouse cursor.
If I don't display the hardware cursor, then the user gets the feeling that
the mouse movement is extremely sluggish, and lags several steps behind
their own hand movement with the mouse.
Can anyone help in any way?
More information about the SDL