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

What options works best for you? #2

Open
d4nyll opened this issue May 9, 2015 · 2 comments
Open

What options works best for you? #2

d4nyll opened this issue May 9, 2015 · 2 comments

Comments

@d4nyll
Copy link
Owner

d4nyll commented May 9, 2015

There are three options you can specify with lethargy, but I find the defaults works fine. If you think the defaults does not work well for you, please post here to tell us which devices it _doesn't_ work well, and also which settings _does_ work well. Many thanks!

@jwmann
Copy link

jwmann commented Oct 16, 2019

The problem I'm having is that the defaults work really well on MacOS but when I use the same defaults with the same mouse on Windows, it doesn't detect the scrolling as well.

I'm not really sure how I'm going to fix that.

@d4nyll
Copy link
Owner Author

d4nyll commented Oct 17, 2019

@jwmann How lethargy works should be independent the operating system (OS), however, most macOS users use Apple products (like the Magic Mouse and Trackpads) and they have a different 'profile' than the mouse and trackpads found elsewhere.

Therefore, you might find it useful to try to figure whether the user is using macOS, and use one set of defaults; for other OSes, you can use another set of defaults. Your browser reveals a lot about you - see https://amiunique.org/fp. You may want to use, for instance, window.navigator.platform. Of course, no method of identifying the platform (or user agent, for that matter) is reliable; so your mileage may vary.

At the end of the day, there are no perfect solution that works 100% of the time. The best you can do is make it better.

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

No branches or pull requests

2 participants