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

Is it possible to overwrite the defaultOptMap? #13

Open
twerthmueller opened this issue Oct 17, 2016 · 2 comments
Open

Is it possible to overwrite the defaultOptMap? #13

twerthmueller opened this issue Oct 17, 2016 · 2 comments

Comments

@twerthmueller
Copy link

Hi

Thanks you for the handy lib to get unified events. We have some behavior on Windows touch pads, that a short tap (not click) is always recorded around 200ms (motion_map.ms_elapsed). Because of this, I would like to change the max_tap_ms and min_held_ms values.

Is it possible to overwrite the values of the defaultOptMap and what's the right way to do that?

Thanks,
Thomas

@mmikowski
Copy link
Owner

hi @twerthmueller thank you for the interest. So the short answer is that the defaultOptMap is currently only set in the library. At present, I currently adjust the code directly because I haven't got around to providing an API to do this. However, it should be trivial to add. Let me see if I can get to it this afternoon.

@twerthmueller
Copy link
Author

It would be great to have an option to overwrite some settings, but it does not have to be today. ;-)

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

2 participants