-
The number for me will not necessarily be the same as for you.
- Have the Bangle show your clock face app.
- Be connected to the Web IDE.
- Enter
Bangle["#onswipe"]
and laterBangle["#ondrag"]
into the Web IDE left hand field (console/terminal). Look at what you get back. Then use this from backswipes readme to determine the numbers you want:
They return undefined if no handler is active, a function if one is active, or a list of functions if multiple are active.
Use the numbers you determined for the settings for "Standard # of handlers".
- Have the Bangle show your clock face app.
-
hi, thx
for my bangle:
Bangle["#onswipe"]
=[
function (lr,) { ... },
function (,dir) { ... }
]
Bangle["#ondrag"]
=function (position) { ... }so i chose noswipe to be 2, ondrag to be 1.
yet i have to say not every swipe will trigger it.
in comparision, "swipe back to clock" is more reliable on this.
may be if possible, the action part of "back swipe" should be moved to be triggered by "swipe back to clcok".btw, seems swipe up to down is easily mixed up as drag up to down by the "desktop launcher".
thanks
I appreciate!
if you use it, what is the numer of handle/drag you choose?
as an end user, i only want to know this, thanks