score: show menu on Bangle2 button press

master
Rob Pilling 2025-04-28 18:11:07 +01:00
parent 83143207e8
commit c7deef3803
1 changed files with 5 additions and 3 deletions

View File

@ -67,9 +67,11 @@ function setupInputWatchers(init) {
})
);
if (init) {
if (isBangle1) {
setWatch(() => handleInput(KEY_MENU), BTN2, { repeat: true });
}
setWatch(
() => handleInput(KEY_MENU),
isBangle1 ? BTN2 : BTN,
{ repeat: true },
);
Bangle.on('touch',
isBangle1
? ((b, e) => {