Can now double click on tablets

This commit is contained in:
Yousef Khadadeh 2025-09-29 17:05:53 +03:00
parent 2aff80d56f
commit b6a4a65b98
2 changed files with 8 additions and 1 deletions

View file

@ -74,6 +74,8 @@ struct InputManager {
bool isDown = false;
bool isEraser = false;
float pressure = 0.0f;
int leftClicksSaved = 0;
std::chrono::steady_clock::time_point lastPenLeftClickTime;
std::array<KeyData, 256> buttons;
} pen;