Hello awesome Banglers!
I have a couple of projects on the go, Hiding the widget bar in an overlay, and Pop up notifications in an overlay, both using Bangle.SetLCDOverlay. I'm having trouble with swipes and drags. I can set a new event handler to move the overlay, but the clock face or app underneath also reacts to the swipe or drag.
Is there a way to block or clear existing events, e.g. Bangle.on('swipe'...), use my custom swipe handler, then clear my custom handler and put the previous one back?
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.
Hello awesome Banglers!
I have a couple of projects on the go, Hiding the widget bar in an overlay, and Pop up notifications in an overlay, both using
Bangle.SetLCDOverlay
. I'm having trouble with swipes and drags. I can set a new event handler to move the overlay, but the clock face or app underneath also reacts to the swipe or drag.Is there a way to block or clear existing events, e.g.
Bangle.on('swipe'...)
, use my customswipe
handler, then clear my custom handler and put the previous one back?