[SDL] Incorrect mouse position while pressed some key

Sam Lantinga slouken at devolution.com
Thu Sep 5 08:36:01 PDT 2002


> we think, that we have found an error in getting mouse position in Win32
> applications, running OpenGL and SDL.

> Sample app with source code can be downloaded from
> www.freex.sk/sdl/sdl_mouse_problem.rar This sample app is minimal implemetation
> we have made to show this error.

> When yor run the app, and move mouse, circle in window will move. It's
> OK. But when you press some key on keyboard, for example "e", the mouse
> will move in skips.

I'm not seeing this on my system.
I have Windows 98, NVidia drivers, SDL CVS code, and Cygwin gcc.

I'm attaching the code and output I got.

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 3116 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020905/d5917a69/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1130 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020905/d5917a69/attachment-0017.obj>


More information about the SDL mailing list