Quote:
Originally Posted by mdp
The two clicks of the double-click action must be in very near coordinates...
|
We actually have a way to facilitate double-tap as double-click:
-- store details the last "down (= 0)" event: x, y and t(imestamp);
-- if down and this_ts-last_down_ts<1000ms and abs( this_x-last_down_x )<50px and abs( this_y-last_down_y )<50px then this_x = last_down_x , this_y = last_down_y
You get the pseudocode.