msgtwscr: unlock the watch on twist as well

Maybe implement this in a separate app instead.
master
thyttan 2025-02-15 03:42:00 +01:00
parent 3ff442700b
commit c51919045b
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@
function onTwistEmitDrag() { function onTwistEmitDrag() {
Bangle.setOptions({twistThreshold:2500, twistMaxY:-800, twistTimeout:400}); Bangle.setOptions({twistThreshold:2500, twistMaxY:-800, twistTimeout:400});
Bangle.on("twist", ()=>{ Bangle.on("twist", ()=>{
Bangle.setLocked(false);
Bangle.setLCDPower(true);
let i = 25; let i = 25;
const int = setInterval(() => { const int = setInterval(() => {
Bangle.emit("drag", {dy:-3}) Bangle.emit("drag", {dy:-3})