I'm comparing the number of 'canvas-scroll' events that happen on my mac - I get almost double the number of events when I use the two finger scroll gesture on the track pad as when I use the scroll button on the mouse. Any idea why that would be happening? It makes the mac track pad zoom and scroll too sensitive to use effectively.
if events from touch pad 1f, 2f and from mouse are same - then need calibration tool
if it detect too big speed it will ask user if it comfortable speed ot he want to make it slower and he have touchpad -> then, we create some constant animated circle for 1 touch and user follow with finger to this circle (1-2 times)
then same for 2 fingers
we need collect difference between 1 finger events generation speed and 2 finger events generation speed
but, it not perfect
if user want very fast 1 finger scroll - what then?
So here's a total hack (that happens to work for my code)...Since the track pad is firing nearly 2 or 3 times as many canvas scroll events I just decided to keep a timer and throw away any scroll events that happen faster than 3 milliseconds. Its enough for the present time... nasty, but effective.
@iangilman I didn't make any changes to OSD so there's really no patch to make. I guess we could change the pace of the code 'generating' the 'canvas-scroll' event, but I just added the pace checking to my listener. Is it something others are struggling with too?