mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-03 03:11:57 +00:00
Add files via upload
This commit is contained in:
@@ -1291,9 +1291,10 @@ void UITask::loop() {
|
||||
_lock_seq_ms = 0;
|
||||
}
|
||||
enqueueKey(checkDisplayOn(KEY_ENTER));
|
||||
}
|
||||
};
|
||||
int ev = user_btn.check();
|
||||
#ifdef UI_ENTER_DOUBLE_BACK
|
||||
#ifdef UI_ENTER_DOUBLE_BACK
|
||||
// For a joystick without a reachable Back button: a double click on Enter goes
|
||||
// back. Multi-click delays a single Enter by the click window. Where text is
|
||||
// typed (on-screen keyboard, PIN pad) or the lock sequence is counting, a
|
||||
@@ -1307,10 +1308,9 @@ void UITask::loop() {
|
||||
}
|
||||
ev = BUTTON_EVENT_NONE;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
if (ev == BUTTON_EVENT_CLICK) {
|
||||
enterClick();
|
||||
}
|
||||
} else if (ev == BUTTON_EVENT_LONG_PRESS) {
|
||||
enqueueKey(handleLongPress(KEY_ENTER)); // REVISIT: could be mapped to different key code
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user