Skip to content

Predictive stylus motion for less lag #483

@LinkZeldasGuard

Description

@LinkZeldasGuard

On Windows and iPads, both stylus and touch controls don't use the raw input from the screen, but use a predictive model to smoothen drawn lines and decrease input lag when drawing, dragging, etc.
From personal experience, people expect this kind of "feel" when using touchscreens and styluses and are put off when using a Linux tablet where the apparent input lag is higher.
I'm not sure how easy it is to implement but https://github.com/google/ink-stroke-modeler is such a model as far as I can tell.
Basically what it does is look at the current direction and acceleration of the input motion to calculate fake motion that is faster than the raw input and then compensates by resending the actual input as soon as it's caught up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions