jquery.event.ue
jquery.event.ue copied to clipboard
Is it possible to overwrite the defaultOptMap?
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
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.
It would be great to have an option to overwrite some settings, but it does not have to be today. ;-)