summaryrefslogtreecommitdiffstats
path: root/core/input/input_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/input/input_map.h')
-rw-r--r--core/input/input_map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/input/input_map.h b/core/input/input_map.h
index 2b2a025332..0479d45c57 100644
--- a/core/input/input_map.h
+++ b/core/input/input_map.h
@@ -43,6 +43,11 @@ class InputMap : public Object {
GDCLASS(InputMap, Object);
public:
+ /**
+ * A special value used to signify that a given Action can be triggered by any device
+ */
+ static int ALL_DEVICES;
+
struct Action {
int id;
float deadzone;