From a51d090276186e034c756196939cb49dd3c4d2be Mon Sep 17 00:00:00 2001 From: nujw Date: Wed, 20 Oct 2021 17:17:48 +1300 Subject: [PATCH] Update app.js --- apps/speedalt2/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/speedalt2/app.js b/apps/speedalt2/app.js index 27ff0c886..6c03c14cc 100644 --- a/apps/speedalt2/app.js +++ b/apps/speedalt2/app.js @@ -662,6 +662,7 @@ Bangle.on('lcdPower',function(on) { }); Bangle.on('swipe',function(dir) { + console.log('Swipe : '+dir); if(dir == 1) prevScrn(); else nextScrn(); }); @@ -675,6 +676,7 @@ dir : "left/right/top/bottom/front/back", */ Bangle.on('tap',function(tap) { + console.log('Tap : '+tap.dir); if ( tap.dir == 'front' && tap.double ) nextFunc(1); // Same as short BTN1 });