Can now double click on tablets
This commit is contained in:
parent
2aff80d56f
commit
b6a4a65b98
2 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue