summaryrefslogtreecommitdiff
path: root/core/os/input.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-13 19:23:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-13 19:24:28 -0300
commita97551902e24ef1ac8fd709d77a5195b73c6c1ae (patch)
treebec77c842c2398ef77bc17d4cf66d882c8ad7582 /core/os/input.cpp
parentb191ea8f02dcd0bfefcd88032ec6b2bd39fa54fc (diff)
rename Input.get_mouse_speed() to Input.get_last_mouse_speed()
Diffstat (limited to 'core/os/input.cpp')
-rw-r--r--core/os/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp
index d2bd433ed9..acfd5ba540 100644
--- a/core/os/input.cpp
+++ b/core/os/input.cpp
@@ -74,7 +74,7 @@ void Input::_bind_methods() {
ClassDB::bind_method(_MD("get_magnetometer"),&Input::get_magnetometer);
ClassDB::bind_method(_MD("get_gyroscope"),&Input::get_gyroscope);
//ClassDB::bind_method(_MD("get_mouse_pos"),&Input::get_mouse_pos); - this is not the function you want
- ClassDB::bind_method(_MD("get_mouse_speed"),&Input::get_mouse_speed);
+ ClassDB::bind_method(_MD("get_last_mouse_speed"),&Input::get_last_mouse_speed);
ClassDB::bind_method(_MD("get_mouse_button_mask"),&Input::get_mouse_button_mask);
ClassDB::bind_method(_MD("set_mouse_mode","mode"),&Input::set_mouse_mode);
ClassDB::bind_method(_MD("get_mouse_mode"),&Input::get_mouse_mode);