score: show menu on Bangle2 button press
parent
83143207e8
commit
c7deef3803
|
|
@ -67,9 +67,11 @@ function setupInputWatchers(init) {
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
if (init) {
|
if (init) {
|
||||||
if (isBangle1) {
|
setWatch(
|
||||||
setWatch(() => handleInput(KEY_MENU), BTN2, { repeat: true });
|
() => handleInput(KEY_MENU),
|
||||||
}
|
isBangle1 ? BTN2 : BTN,
|
||||||
|
{ repeat: true },
|
||||||
|
);
|
||||||
Bangle.on('touch',
|
Bangle.on('touch',
|
||||||
isBangle1
|
isBangle1
|
||||||
? ((b, e) => {
|
? ((b, e) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue