T-Watch fixes

This commit is contained in:
mverch67
2023-08-08 18:06:39 +02:00
parent 04bbdc6b8a
commit 0fe99b0caa
9 changed files with 41 additions and 20 deletions

View File

@@ -22,6 +22,9 @@ class TFTDisplay : public OLEDDisplay
// Write the buffer to the display memory
virtual void display(void) override;
// Turn the display upside down
virtual void flipScreenVertically();
// Touch screen (static handlers)
static bool hasTouch(void);
static bool getTouch(int16_t *x, int16_t *y);