Start work on touchscreen support

This commit is contained in:
Yousef Khadadeh 2026-02-27 16:16:51 +03:00
parent 815737ce3e
commit ae88521b32
14 changed files with 171 additions and 76 deletions

View file

@ -72,6 +72,12 @@ struct InputManager {
friend struct InputManager;
} mouse;
struct Touch {
bool isDown = false;
int leftClicksSaved = 0;
std::chrono::steady_clock::time_point lastLeftClickTime;
} touch;
struct Pen {
bool inProximity = false;
bool isDown = false;