Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hysteresis #6

Open
SonOfLilit opened this issue Jun 5, 2014 · 0 comments
Open

Add hysteresis #6

SonOfLilit opened this issue Jun 5, 2014 · 0 comments

Comments

@SonOfLilit
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant