diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-05-01 21:13:20 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-05-01 21:13:20 -0300 |
commit | 1e422941c88105852cc376569b7aa92e7784f4cd (patch) | |
tree | f54ff75e18805ff6c1d0ebee7104a9bdf325551b /core/os/input.cpp | |
parent | 88d078df1e72bcf7caf82761d9a86cb920527cb7 (diff) |
-Fixed android export options (screen sizes, orientation should work)
-added functions to get mouse position in CanvasItem
Diffstat (limited to 'core/os/input.cpp')
-rw-r--r-- | core/os/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp index 4a8718e2d6..2b939ede46 100644 --- a/core/os/input.cpp +++ b/core/os/input.cpp @@ -56,7 +56,7 @@ void Input::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_joy_axis","device","axis"),&Input::get_joy_axis); ObjectTypeDB::bind_method(_MD("get_joy_name","device"),&Input::get_joy_name); ObjectTypeDB::bind_method(_MD("get_accelerometer"),&Input::get_accelerometer); - //ObjectTypeDB::bind_method(_MD("get_mouse_pos"),&Input::get_mouse_pos); + //ObjectTypeDB::bind_method(_MD("get_mouse_pos"),&Input::get_mouse_pos); - this is not the function you want ObjectTypeDB::bind_method(_MD("get_mouse_speed"),&Input::get_mouse_speed); ObjectTypeDB::bind_method(_MD("get_mouse_button_mask"),&Input::get_mouse_button_mask); ObjectTypeDB::bind_method(_MD("set_mouse_mode","mode"),&Input::set_mouse_mode); |