aboutsummaryrefslogtreecommitdiff
path: root/core/input_map.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-09-01 18:58:52 -0300
committerJuan Linietsky2016-09-01 18:59:46 -0300
commit5b96c3a5527c1b2989dbfbe625f1c763b8887334 (patch)
tree6fbd6ed3703a3f8514e0e45eb590aeac7bc1284d /core/input_map.cpp
parent3759d378da7ceab382b31b86d69bb90b9eeaba90 (diff)
downloadgodot-5b96c3a5527c1b2989dbfbe625f1c763b8887334.tar.gz
godot-5b96c3a5527c1b2989dbfbe625f1c763b8887334.tar.zst
godot-5b96c3a5527c1b2989dbfbe625f1c763b8887334.zip
Diffstat (limited to 'core/input_map.cpp')
-rw-r--r--core/input_map.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/input_map.cpp b/core/input_map.cpp
index 08ee8138a..3a0f9596f 100644
--- a/core/input_map.cpp
+++ b/core/input_map.cpp
@@ -290,6 +290,10 @@ bool InputMap::event_is_joy_motion_action_pressed(const InputEvent& p_event) con
}
+const Map<StringName, InputMap::Action>& InputMap::get_action_map() const {
+ return input_map;
+}
+
void InputMap::load_from_globals() {
input_map.clear();;