I'm a little confused still when you say "you can just create a new Bangle.setUI"
Well, you could add the following code to run at boot - for example via: https://banglejs.com/apps/#custom%20boot
(function() { var sui = Bangle.setUI; Bangle.setUI = function(mode, cb) { if (mode!="clock") return sui(mode,cb); sui(); // clear Bangle.CLOCK=1; Bangle.swipeHandler = Bangle.showLauncher; Bangle.on("swipe", Bangle.swipeHandler); }; })();
And now Bangle.setUI is overwritten such that for normal clocks, you now swipe your finger to enter the launcher rather than using BTN2.
Bangle.setUI
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Well, you could add the following code to run at boot - for example via: https://banglejs.com/apps/#custom%20boot
And now
Bangle.setUI
is overwritten such that for normal clocks, you now swipe your finger to enter the launcher rather than using BTN2.