[despammed] Re[2]: Incorrect mouse position while pressed some key

I’ve seen this too. For me, however, low fps alone causes this behaviour, but I’m running Linux (the same thing has been observed on Windows as well). I’m very interested to know why it is this way also.

/Andre

Marek Rosa wrote:> On all Windows 2000 systems we have tryed, relative coordinates from mouse are smaller

when some key is pressed on keyboard, and FPS is low.

On Win98 it’s OK, no slowing mouse.

This is my output when key IS NOT PRESSED (on Win2000):

-4 1
-50 5
-38 1
-33 -1
-44 0
-114 -4
-30 -1
-22 -1
-53 -1
15 0
15 0

And this is output when key IS PRESSED (on Win2000):

2 0
1 0
4 0
3 0
2 0
2 0
3 0
3 0
3 0
3 0
6 0
1 0
20 1
2 1
3 0
8 1
8 0
47 5
6 1
2 0
7 1
8 1
5 1
10 1
73 6
11 1
11 2
6 0
19 2
5 0
61 1
9 1
5 0
8 0
11 -2
6 0
11 0
4 0
20 6

And I am trying to move mouse same speed.

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


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Filtered by despammed.com. Tracer: IAA183611034601019
Need cheap U.S. dialup but want to keep despamming your mail? Check out U.S. national dialup
access from $13.95 with Despammed filtration at http://www.myguard.net