You are reading a single comment by @AkosLukacs and its replies. Click here to read the full conversation.
  • I don't have a Smartibot, but setting edge:'both' should trigger button press on press and release:

    setWatch(function(e) {
      if (e.state) print("Button pressed");
      else print("Button released");
    }, BTN, {repeat:true; edge:'both'});
    

    Docs with more details

About

Avatar for AkosLukacs @AkosLukacs started