aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/SharedDefs.hpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-12-29 10:24:56 +0100
committervaxerski <[email protected]>2023-12-29 10:27:09 +0100
commit9242b033175cfa59796cbf3039dcc41ef4241c11 (patch)
tree092783c2052913c042b76fc8b4f9becbd961862a /src/SharedDefs.hpp
parentf9c13b614c780c45933440ddecaaa57cc5f1cc12 (diff)
downloadHyprland-9242b033175cfa59796cbf3039dcc41ef4241c11.tar.gz
Hyprland-9242b033175cfa59796cbf3039dcc41ef4241c11.zip
internal: minor include fixes and missed format
Diffstat (limited to 'src/SharedDefs.hpp')
-rw-r--r--src/SharedDefs.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp
index 4b1524b3..da7f6938 100644
--- a/src/SharedDefs.hpp
+++ b/src/SharedDefs.hpp
@@ -24,6 +24,14 @@ enum eRenderStage {
RENDER_POST_WINDOW, /* After rendering a window (any pass) */
};
+enum eInputType {
+ INPUT_TYPE_AXIS = 0,
+ INPUT_TYPE_BUTTON,
+ INPUT_TYPE_DRAG_START,
+ INPUT_TYPE_DRAG_END,
+ INPUT_TYPE_MOTION
+};
+
struct SCallbackInfo {
bool cancelled = false; /* on cancellable events, will cancel the event. */
};