[SDL] Why do I get so few points(SDL_MOUSEMOTION) when I move fast

sgrsgsrg thephanoo at gmail.com
Tue Sep 13 08:11:11 PDT 2016

I think it's limited by what windows sends with its API, maybe it's locked on the main display frequency? If you want more points you'll need to interpolate between them. Like when you draw with a painting program, they all use some sort of bezier interpolation to make nice curves, otherwise it would looks like multiple segments linked to each other.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20160913/9c8a847f/attachment.htm>

More information about the SDL mailing list