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

Alex Barry alex.barry at gmail.com
Tue Sep 13 08:20:08 PDT 2016

I think most apps interpolate with curves, which isn't too bad if you have
at least 3 points.  I've seen this behaviour for years, and I don't think
it's an issue with SDL.

On Tue, Sep 13, 2016 at 11:11 AM, sgrsgsrg <thephanoo at gmail.com> wrote:

> 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.
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20160913/ba4f5f1e/attachment.htm>

More information about the SDL mailing list