Start work on touchscreen support
This commit is contained in:
parent
815737ce3e
commit
ae88521b32
14 changed files with 171 additions and 76 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue