You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • As you know, with a ff - fat finger - tapped in the center, both button 4 and 5 fire... so my suggestion for a lock / unlock is something like start/touch down on one side, swipe to the other side, stay there and then untouch... it is less than two seconds. If this is not unique enough, stay in the middle for a bit. That would be for sure a nice work. Even the emulation has the overlap for a while, so with the pointy finger - like the mouse - both buttons fire...

    // ulockpoc.js - unlock/ lock proof of concept
    function onInit() {
      setWatch((e)=>LED1.write(e.state),BTN4,{­repeat:true,edge:"both"});
      setWatch((e)=>LED2.write(e.state),BTN5,{­repeat:true,edge:"both"});
    }
    setTimeout(onInit,999);
    

    Yu should see on touch down on the left (no buttons side), red LED1 comes on, moving/swiping slowly towards the right side (buttons side), green LED2 comes on, more moving/swiping red LED1 goes out, and on untouch, green LED2 goes out as well...

    ...OOOOPS.... the overlap - which I though have seen in an firmware update a bit ago - is not there...(anymore)...

    @Gordon, did I misread the release notes of the touch detection areas for the emulation?

About

Avatar for allObjects @allObjects started