From 8ed03143bd15d0f1b88a4036049987cacf14e4f0 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 14 Mar 2026 18:22:37 -0600 Subject: [PATCH] fix: Set haptic feedback duration for button presses to 30ms --- calculator/calculator.app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calculator/calculator.app.js b/calculator/calculator.app.js index 2c1e8d8..368969c 100644 --- a/calculator/calculator.app.js +++ b/calculator/calculator.app.js @@ -554,7 +554,7 @@ function buttonPress(val) { } break; case 'B': - Bangle.buzz(); + Bangle.buzz(30); if (isDecimal) { isDecimal = false; displayOutput(currNumber); @@ -585,7 +585,7 @@ function buttonPress(val) { if (swipeEnabled) drawNumbers(); break; case '.': - Bangle.buzz(); + Bangle.buzz(30); specials.R.val = 'C'; if (!swipeEnabled) drawKey('R', specials.R); isDecimal = true; @@ -646,7 +646,7 @@ function buttonPress(val) { } break; default: { - Bangle.buzz(); + Bangle.buzz(30); specials.R.val = 'C'; if (!swipeEnabled) drawKey('R', specials.R); const is0Negative = (currNumber === 0 && 1/currNumber === -Infinity);