msgtwscr: unlock the watch on twist as well
Maybe implement this in a separate app instead.master
parent
3ff442700b
commit
c51919045b
|
|
@ -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})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue