diff options
| author | dranull <150595692+dranull@users.noreply.github.com> | 2023-12-28 22:54:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-28 23:54:41 +0100 |
| commit | 8321d6be46ed2df7dfe7ec142716a7d1a50d2d5e (patch) | |
| tree | 8381a98e72b0ae839847da7ac7a122027317b6bf /src/managers/input/InputManager.hpp | |
| parent | cedf5f1fca057351d85560ff72bf2cc6cc609755 (diff) | |
internal: Unify input handling on decorations (#4280)
* Unify input handling on decorations
* Make input methods private
* Optional data
Diffstat (limited to 'src/managers/input/InputManager.hpp')
| -rw-r--r-- | src/managers/input/InputManager.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp index 5fa5824e..2b948bb4 100644 --- a/src/managers/input/InputManager.hpp +++ b/src/managers/input/InputManager.hpp @@ -32,6 +32,14 @@ enum eBorderIconDirection { BORDERICON_DOWN_RIGHT, }; +enum eInputType { + INPUT_TYPE_AXIS = 0, + INPUT_TYPE_BUTTON, + INPUT_TYPE_DRAG_START, + INPUT_TYPE_DRAG_END, + INPUT_TYPE_MOTION +}; + struct STouchData { CWindow* touchFocusWindow = nullptr; SLayerSurface* touchFocusLS = nullptr; |
