jquery.event.ue icon indicating copy to clipboard operation
jquery.event.ue copied to clipboard

Is it possible to overwrite the defaultOptMap?

Open twerthmueller opened this issue 8 years ago • 2 comments

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

twerthmueller avatar Oct 17 '16 12:10 twerthmueller

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.

mmikowski avatar Oct 17 '16 19:10 mmikowski

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

twerthmueller avatar Oct 18 '16 06:10 twerthmueller