summaryrefslogtreecommitdiff
path: root/src/SharedDefs.hpp
diff options
context:
space:
mode:
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. */
};