diff options
author | Juan Linietsky <juan@godotengine.org> | 2020-03-04 13:36:09 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-03-26 15:49:39 +0100 |
commit | 8e6960a69e0202cb1e6f3b3dc9f9bb34e1c1d889 (patch) | |
tree | 67b81f61ea79e83d7877c77a302592b9c849991e /modules/mobile_vr | |
parent | 9e08742de81b062c30b7984900a55d5150a4bd17 (diff) |
Refactored input, goes all via windows now.
Also renamed Input to InputFilter because all it does is filter events.
Diffstat (limited to 'modules/mobile_vr')
-rw-r--r-- | modules/mobile_vr/mobile_vr_interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mobile_vr/mobile_vr_interface.cpp b/modules/mobile_vr/mobile_vr_interface.cpp index 2a4b761b73..1b253d3699 100644 --- a/modules/mobile_vr/mobile_vr_interface.cpp +++ b/modules/mobile_vr/mobile_vr_interface.cpp @@ -29,7 +29,7 @@ /*************************************************************************/ #include "mobile_vr_interface.h" -#include "core/input/input.h" +#include "core/input/input_filter.h" #include "core/os/os.h" #include "servers/display_server.h" #include "servers/visual/visual_server_globals.h" @@ -118,7 +118,7 @@ void MobileVRInterface::set_position_from_sensors() { float delta_time = (double)ticks_elapsed / 1000000.0; // few things we need - Input *input = Input::get_singleton(); + InputFilter *input = InputFilter::get_singleton(); Vector3 down(0.0, -1.0, 0.0); // Down is Y negative Vector3 north(0.0, 0.0, 1.0); // North is Z positive |