started implementing backlight tracking (unfinished)

horus touch driver internally tracks touch state and returns the state on read to make in independed of the mainwindow touchState
This commit is contained in:
gagarinlg
2021-11-16 11:21:04 +10:00
committed by Peter Feerick
parent 52013da098
commit ced9df9510
6 changed files with 50 additions and 35 deletions
+4 -3
View File
@@ -45,8 +45,9 @@ struct TouchState
short tapCount;
};
constexpr uint8_t SLIDE_RANGE = 6;
extern TouchState touchState;
#define SLIDE_RANGE 6
#endif // _TOUCH_H_
extern struct TouchState touchState;
#endif // _TOUCH_H_