Skip to content

Add hysteresis #6

Description

@SonOfLilit

The fact that nonInteraction defaults to true hints at a deeper issue:

Just one movement of the mouse shouldn't make the user be considered active.

What I'd like is a threshold on a low pass filter on user activity.

Here's a very basic implementation that I'm using, but it probably needs more design before it's fit for public release:

https://gist.github.com/SonOfLilit/421c9f89bfdf6f803198

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions