Skip to content

[Bangle.js] Add buzz on back widget pressed #2642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

RKBoss6
Copy link

@RKBoss6 RKBoss6 commented Jul 11, 2025

This is in regards to Issue 2641
This adds a buzz to confirm that the back widget was selected.

@gfwilliams
Copy link
Member

Great - and just to check, this is tested (via the tutorial mentioned in #2641) and it works ok for you?

@RKBoss6
Copy link
Author

RKBoss6 commented Jul 21, 2025

@gfwilliams Hi! I just tested this a few times, and it works for almost everything. The place where it doesn't buzz, however, is right after you open an app like settings, and press the back widget. It simply loads the clock, and does not buzz. Do you know why this might be? Thanks!

@gfwilliams
Copy link
Member

Do you know why this might be? Thanks!

Ahh, yes - it'll be because it immediately resets the device to load the new app, so the vibration motor is turned off basically as soon as it's turned on. For it to work nicely b would have to return the promise, then you could do b.then(() => options.back())

@RKBoss6
Copy link
Author

RKBoss6 commented Jul 22, 2025

@gfwilliams That works now, I did not update the Bangle_setUI_Q3.min.js file, should I do that?
Additionally, what is the difference between the Bangle_setUI_Q3.js and Bangle_setUI_F18.js files?

@gfwilliams
Copy link
Member

Thanks - right now you've got Bangle.setUI= in there, and you could just return the Bangle.buzz(30) promise I think (the try was to work around an emulator issue that's fixed. So I've just added this myself and minified the file.

what is the difference between the Bangle_setUI_Q3.js and Bangle_setUI_F18.js files?

F18 is for Bangle.js 1 (it's the codename of the original watch that was used)

@RKBoss6
Copy link
Author

RKBoss6 commented Jul 22, 2025

@gfwilliams Ok, thanks so much for the help!

@RKBoss6
Copy link
Author

RKBoss6 commented Jul 22, 2025

@gfwilliams Until the next version of firmware is released, I was thinking of making an app for this functionality, wdyt?

@gfwilliams
Copy link
Member

Well, you can just install a cutting edge build and get it, so personally I don't think an app would be that much help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants