Add Join WiFi for touch hardware

This commit is contained in:
Just Call Me Koko
2025-06-03 23:13:11 -04:00
parent 75e3e71453
commit 51eddd5b8f
7 changed files with 431 additions and 128 deletions

View File

@@ -118,8 +118,9 @@ class Display
// We can speed up scrolling of short text lines by just blanking the character we drew
int blank[19]; // We keep all the strings pixel lengths to optimise the speed of the top line blanking
int8_t menuButton(uint16_t *x, uint16_t *y, bool pressed);
int8_t menuButton(uint16_t *x, uint16_t *y, bool pressed, bool check_hold = false);
uint8_t updateTouch(uint16_t *x, uint16_t *y, uint16_t threshold = 600);
bool isTouchHeld(uint16_t threshold = 600);
void tftDrawRedOnOffButton();
void tftDrawGreenOnOffButton();
void tftDrawGraphObjects(byte x_scale);