Re: Why do I get so few points(SDL_MOUSEMOTION) when I move fast

"Ryan C. Gordon" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Organization icculus.org
Message-ID <[email protected]>
On 9/13/16 11:11 AM, sgrsgsrg wrote:
> I think it's limited by what windows sends with its API

Specifically: 
https://blogs.msdn.microsoft.com/oldnewthing/20031001-00/?p=42343/

If you're getting _really_ imprecise mouse input, you probably need to 
run the SDL event queue more often (is there an SDL_Delay() or something 
in your program?), as mouse resolution on Windows is limited to how fast 
you check for more mouse events.

(Switching on relative mouse mode in SDL might help, as I assume Win32 
RAWINPUT isn't limited in this way.)

--ryan.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.