multi click support including buzzer toggle

This commit is contained in:
taco
2025-09-03 08:25:59 +10:00
parent a93a0fecba
commit ce31fd7c57
4 changed files with 89 additions and 7 deletions

View File

@@ -37,6 +37,8 @@ class UITask : public AbstractUITask {
// Button action handlers
char checkDisplayOn(char c);
char handleLongPress(char c);
char handleDoubleClick(char c);
char handleTripleClick(char c);
void setCurrScreen(UIScreen* c);
@@ -55,6 +57,10 @@ public:
bool hasDisplay() const { return _display != NULL; }
bool isButtonPressed() const;
void toggleBuzzer();
void toggleGPS();
// from AbstractUITask
void msgRead(int msgcount) override;
void newMsg(uint8_t path_len, const char* from_name, const char* text, int msgcount) override;