Skip to content
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

cliock: Not registering BTN1 presses reliably #853

Closed
hasmar04 opened this issue Oct 20, 2021 · 5 comments
Closed

cliock: Not registering BTN1 presses reliably #853

hasmar04 opened this issue Oct 20, 2021 · 5 comments

Comments

@hasmar04
Copy link
Contributor

Button functionality has been added to select settings and navigate menus, but neither on the physical watch (Bangle.js 1), with multiple other apps installed, or in the emulator (bangle.js 1) with no other apps does BTN1 register presses.
Through the debugging output in the emulator, it can be seen the buttons are processing as pressed but not creating the expected response.

Although weirdly it does work with the Bangle.js 2 emulator, if that helps at all, with all the correct button presses being processed as expected.

If it helps, I am using Firefox on Manjaro Linux.

@gfwilliams
Copy link
Member

Thanks - just fixed I hope!

@hasmar04
Copy link
Contributor Author

So just confirming for future reference, the buttons are in the range -1, 0, and 1? And does this still work on B.js 2?

@gfwilliams
Copy link
Member

Yes, that's right. The formatting is a bit broken but the info is at http://www.espruino.com/Reference#l_Bangle_setUI

@hasmar04
Copy link
Contributor Author

Just checked in the emulator, and B.js 1 works is fixed, while B.js 2 seems to be broken now, with only the virtual BTN3 working, and BTN2 (the top virtual button) being registered, but not working as intended.
As I don't have the actual hardware yet, I cannot test if it is an emulator or app issue or both.

@gfwilliams
Copy link
Member

Thanks! Just realised this was a bug in the Bangle.js 2 firmware (sending 0 not -1). I've just fixed it and I'll update the emulator at some point soon

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

No branches or pull requests

2 participants