summaryrefslogtreecommitdiffstats
path: root/core/input_map.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-02 09:37:16 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-02 09:37:16 -0300
commit432e2e77692e0c718b35ffddc0602a4193e13239 (patch)
tree05e893d7bfdb12e6afbd7a404d08d00226fbcc70 /core/input_map.h
parentdf5fa62ab955437f05bfd7acdf6ed61d6d9c827e (diff)
downloadredot-engine-432e2e77692e0c718b35ffddc0602a4193e13239.tar.gz
proper joy axis support as actions, can be configured and inquired, fixes #2317
Diffstat (limited to 'core/input_map.h')
-rw-r--r--core/input_map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/input_map.h b/core/input_map.h
index c803d5bf04..5cd1e41922 100644
--- a/core/input_map.h
+++ b/core/input_map.h
@@ -68,6 +68,7 @@ public:
const List<InputEvent> *get_action_list(const StringName& p_action);
bool event_is_action(const InputEvent& p_event, const StringName& p_action) const;
+ bool event_is_joy_motion_action_pressed(const InputEvent& p_event) const;
void load_from_globals();