-
• #2
there is
global['\xff'].watches
array and the pin is there too so it is doable. However I'm not sure it is stable interface for getting list of watches. -
• #4
Thanks for the replies.
That does sound like too much bother (for now), guess I'll just stick with a "try not to assign buttons that are already in use" message. -
• #5
And I guess the same question for Bangle.on()?
You can do similarly - with
Bangle["#onfoobar"]
But yes, while those haven't changed in a while there is no guarantee they won't change in the future.
Is there any way to get a list of listeners created by
setWatch()
?I was thinking about creating a global listener, so it would be nice if it could do something like
And that would allow me to
doCoolStuff
by pressing BTN1 from e.g. most clocks, but without interfering with apps that actually use BTN1.And I guess the same question for
Bangle.on()
? (Because I just realized it would be neat to swipe from the clock to settings/launcher)