swipe: Touchscreen workspace swipe (#4489)

* Workspace Swipe: Refactor update and end functions

* Touch: Implement workspace swipe better

ignoring additional fingers and new touches

allow gaps-right and gaps-left to be different
This commit is contained in:
Zach DeCook 2024-03-17 11:43:59 -04:00 committed by GitHub
parent 3ed3b34c4a
commit 3c21f5e07b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 81 additions and 4 deletions

View file

@ -283,6 +283,7 @@ struct SSwipeGesture {
int initialDirection = 0;
float avgSpeed = 0;
int speedPoints = 0;
int touch_id = 0;
CMonitor* pMonitor = nullptr;
};