summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-03-25 19:58:48 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-06-20 11:53:01 -0400
commite919d894f84ea86ee43a3e1b8a675b9fec28f01c (patch)
tree56108ded1c02939ead6dcf9f06950fb24b6cead5 /core/variant
parent1acc76fecc9e613724c920633af6bae059444030 (diff)
Move many input enums to their own file
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/binder_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/variant/binder_common.h b/core/variant/binder_common.h
index 830e0a5cbd..0885777429 100644
--- a/core/variant/binder_common.h
+++ b/core/variant/binder_common.h
@@ -31,6 +31,7 @@
#ifndef BINDER_COMMON_H
#define BINDER_COMMON_H
+#include "core/input/input_enums.h"
#include "core/object/object.h"
#include "core/templates/list.h"
#include "core/templates/simple_type.h"
@@ -90,6 +91,12 @@ VARIANT_ENUM_CAST(Error);
VARIANT_ENUM_CAST(Side);
VARIANT_ENUM_CAST(ClockDirection);
VARIANT_ENUM_CAST(Corner);
+VARIANT_ENUM_CAST(HatDir);
+VARIANT_ENUM_CAST(HatMask);
+VARIANT_ENUM_CAST(JoyAxis);
+VARIANT_ENUM_CAST(JoyButton);
+VARIANT_ENUM_CAST(MIDIMessage);
+VARIANT_ENUM_CAST(MouseButton);
VARIANT_ENUM_CAST(Orientation);
VARIANT_ENUM_CAST(HAlign);
VARIANT_ENUM_CAST(VAlign);