summaryrefslogtreecommitdiffstats
path: root/core/os/input.cpp
diff options
context:
space:
mode:
authorAnton Yabchinskiy <arn@bestmx.ru>2015-01-21 12:03:29 +0300
committerAnton Yabchinskiy <arn@bestmx.ru>2015-01-21 12:03:29 +0300
commit6f93e6812edaf6c8c79c28dadbe5f1c4a8ced93e (patch)
tree70e49e718d13300738c45b0de1aee5afab9ddf31 /core/os/input.cpp
parentfa38e9b838f32baedfca7a9250a76418b1872f5d (diff)
parentc6eabbbec5a9fec7a0d473fe67a544af3454c3d2 (diff)
downloadredot-engine-6f93e6812edaf6c8c79c28dadbe5f1c4a8ced93e.tar.gz
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'core/os/input.cpp')
-rw-r--r--core/os/input.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp
index a827e75896..5d4b3a834d 100644
--- a/core/os/input.cpp
+++ b/core/os/input.cpp
@@ -62,6 +62,8 @@ void Input::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_mouse_mode","mode"),&Input::set_mouse_mode);
ObjectTypeDB::bind_method(_MD("get_mouse_mode"),&Input::get_mouse_mode);
ObjectTypeDB::bind_method(_MD("warp_mouse_pos","to"),&Input::warp_mouse_pos);
+ ObjectTypeDB::bind_method(_MD("action_press"),&Input::action_press);
+ ObjectTypeDB::bind_method(_MD("action_release"),&Input::action_release);
BIND_CONSTANT( MOUSE_MODE_VISIBLE );
BIND_CONSTANT( MOUSE_MODE_HIDDEN );