diff options
author | hondres <liu.gam3@gmail.com> | 2016-01-24 18:01:37 +0100 |
---|---|---|
committer | hondres <liu.gam3@gmail.com> | 2016-01-24 18:01:37 +0100 |
commit | 285bcac224b045fef967c2a741240e5fa842cb08 (patch) | |
tree | b60e785009a1dd34771e3eaf52cfcbc56e81b40b /main/input_default.h | |
parent | e7c920fdbabd65a86864ec9610f895bee82f05ba (diff) | |
download | redot-engine-285bcac224b045fef967c2a741240e5fa842cb08.tar.gz |
can use fallback mapping on all platforms
Diffstat (limited to 'main/input_default.h')
-rw-r--r-- | main/input_default.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/input_default.h b/main/input_default.h index a417713a82..7432a3715d 100644 --- a/main/input_default.h +++ b/main/input_default.h @@ -18,7 +18,6 @@ class InputDefault : public Input { MainLoop *main_loop; bool emulate_touch; - struct SpeedTrack { uint64_t last_tick; @@ -62,6 +61,7 @@ class InputDefault : public Input { SpeedTrack mouse_speed_track; Map<int, Joystick> joy_names; + int fallback_mapping; RES custom_cursor; public: enum HatMask { @@ -169,7 +169,7 @@ public: bool is_joy_mapped(int p_device); String get_joy_guid_remapped(int p_device) const; - + void set_fallback_mapping(String p_mapping); InputDefault(); }; |