You are reading a single comment by @dapgo and its replies. Click here to read the full conversation.
  • I've been trying to get additional interactions compatible with bangle.js1, and i got success long press for buttons.

    However I can't find info about how to use Bangle.on('touch' and time periods.
    In the documentation there is:

    Bangle.on('touch', function(zone,e) { ... }); will call the function
    with e as an object containing {x,y} every time the screen is tapped
    (when unlocked).

    Besides "zone" and "e"(x,y) there is also "e.type" but i don't know what is its purpose.

    Any idea to apply time events for touch tap?
    Is the only possible solution at a lower level, such as digitalPulse(pin, value, time)?

About

Avatar for dapgo @dapgo started