diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-13 19:23:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-13 19:24:28 -0300 |
commit | a97551902e24ef1ac8fd709d77a5195b73c6c1ae (patch) | |
tree | bec77c842c2398ef77bc17d4cf66d882c8ad7582 /platform/android | |
parent | b191ea8f02dcd0bfefcd88032ec6b2bd39fa54fc (diff) |
rename Input.get_mouse_speed() to Input.get_last_mouse_speed()
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/os_android.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index 55fe3f21a0..3fcb6949ac 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -482,8 +482,8 @@ void OS_Android::process_touch(int p_what,int p_pointer, const Vector<TouchPos>& ev.mouse_motion.x=p_points[0].pos.x; ev.mouse_motion.y=p_points[0].pos.y; input->set_mouse_pos(Point2(ev.mouse_motion.x,ev.mouse_motion.y)); - ev.mouse_motion.speed_x=input->get_mouse_speed().x; - ev.mouse_motion.speed_y=input->get_mouse_speed().y; + ev.mouse_motion.speed_x=input->get_last_mouse_speed().x; + ev.mouse_motion.speed_y=input->get_last_mouse_speed().y; ev.mouse_motion.relative_x=p_points[0].pos.x-last_mouse.x; ev.mouse_motion.relative_y=p_points[0].pos.y-last_mouse.y; last_mouse=p_points[0].pos; |