From a97551902e24ef1ac8fd709d77a5195b73c6c1ae Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 13 Jan 2017 19:23:42 -0300 Subject: rename Input.get_mouse_speed() to Input.get_last_mouse_speed() --- core/os/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/os/input.cpp') 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); -- cgit v1.2.3