Skip to content

Commit 915546d

Browse files
author
thyttan
committed
spotrem: add double buzz on deactivating volume knob
1 parent 3df424b commit 915546d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

apps/spotrem/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Swipe input:
88

99
Swipe left/right to go to previous/next track. Swipe up/down to change the volume.
1010

11-
If you have changed the volume by swipe up/down, you can use a "volume knob" to continuously change the volume. Clock wise circle gesture on the screen increases volume and vice versa. The knob will deactivate shortly after you release the finger from the watch screen.
11+
If you have changed the volume by swipe up/down, you can use a "volume knob" to continuously change the volume. Clock wise circle gesture on the screen increases volume and vice versa. The knob will deactivate shortly after you release the finger from the watch screen, indicated by a double buzz.
1212

1313
It's possible to start tracks by searching with the remote. Search term without tags will override search with tags.
1414

apps/spotrem/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ let dragHandler = function(e) {
145145
knobTimeout = setTimeout(()=>{
146146
Bangle.removeListener("drag", timingOutVolumeKnob)
147147
Bangle.removeListener("swipe", swipeMask);
148+
Bangle.buzz(40);
149+
setTimeout(Bangle.buzz, 150, 40, 0.8)
148150
knobTimeout = undefined;
149151
print("removed volume knob")
150152
}, 350);

0 commit comments

Comments
 (0)