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/haiku | |
parent | b191ea8f02dcd0bfefcd88032ec6b2bd39fa54fc (diff) |
rename Input.get_mouse_speed() to Input.get_last_mouse_speed()
Diffstat (limited to 'platform/haiku')
-rw-r--r-- | platform/haiku/haiku_direct_window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/haiku/haiku_direct_window.cpp b/platform/haiku/haiku_direct_window.cpp index 1def361367..2a8310b858 100644 --- a/platform/haiku/haiku_direct_window.cpp +++ b/platform/haiku/haiku_direct_window.cpp @@ -219,8 +219,8 @@ void HaikuDirectWindow::HandleMouseMoved(BMessage* message) { input->set_mouse_pos(pos); motion_event.mouse_motion.global_x = pos.x; motion_event.mouse_motion.global_y = pos.y; - motion_event.mouse_motion.speed_x = input->get_mouse_speed().x; - motion_event.mouse_motion.speed_y = input->get_mouse_speed().y; + motion_event.mouse_motion.speed_x = input->get_last_mouse_speed().x; + motion_event.mouse_motion.speed_y = input->get_last_mouse_speed().y; motion_event.mouse_motion.relative_x = rel.x; motion_event.mouse_motion.relative_y = rel.y; |