diff options
| author | Nibodhika | 2018-04-03 22:29:07 +0000 |
|---|---|---|
| committer | Nibodhika | 2018-04-07 20:08:09 +0000 |
| commit | 1e28f63bcf7b465cc940af18a08855d377370ac3 (patch) | |
| tree | 64f5c3ae1d3bf01071c9f51e07f5e26c39384ac2 /core/input_map.h | |
| parent | bcf5b748b52271774c0362717cab242527baf99d (diff) | |
| download | godot-1e28f63bcf7b465cc940af18a08855d377370ac3.tar.gz godot-1e28f63bcf7b465cc940af18a08855d377370ac3.tar.zst godot-1e28f63bcf7b465cc940af18a08855d377370ac3.zip | |
Diffstat (limited to 'core/input_map.h')
| -rw-r--r-- | core/input_map.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/input_map.h b/core/input_map.h index 84d90f6f2..9f3c13c2c 100644 --- a/core/input_map.h +++ b/core/input_map.h @@ -39,6 +39,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; List<Ref<InputEvent> > inputs; |
