• And doing short and long press is very easy:

    setWatch(function(e){
      var isLong = (e.time-e.lastTime)>0.4;
      // ...
    }, BTN, {repeat:true, debounce:50, edge:"falling"});
    
About

Avatar for Gordon @Gordon started