From a6844f4f80caf8095e1ee34672e901eb855f8754 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Sat, 1 Apr 2023 17:43:37 +0200 Subject: [PATCH] tweak buzz lenght and strength --- apps/longpressbuzz/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/longpressbuzz/boot.js b/apps/longpressbuzz/boot.js index 1a859a381..42cef9890 100644 --- a/apps/longpressbuzz/boot.js +++ b/apps/longpressbuzz/boot.js @@ -1,6 +1,6 @@ let btnLoadTimeout = 1500; //Bangle.getOptions().btnLoadTimeout; // Hardcode value to minimize impact on load time at boot. Change to the commented out code to couple it to the actual system setting in the options object. let buzzTimeout; -setWatch(function(e) { buzzTimeout = setTimeout(Bangle.buzz, btnLoadTimeout-100, 30, 0.30); }, BTN, { +setWatch(function(e) { buzzTimeout = setTimeout(Bangle.buzz, btnLoadTimeout-100, 45, 0.35); }, BTN, { repeat:true, edge:'rising' }); setWatch(function(e) { if (buzzTimeout) clearTimeout(buzzTimeout); }, BTN, { repeat:true, edge:'falling' });