score: show menu on Bangle2 button press
parent
83143207e8
commit
c7deef3803
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue