forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_input
Rémi Verschelde edited this page Feb 16, 2016
·
17 revisions
Important: This wiki is soon going to be taken down, as the official documentation of the Godot project is now on http://docs.godotengine.org.
####Inherits: Object ####Category: Core
- bool is_key_pressed ( int scancode )
- bool is_mouse_button_pressed ( int button )
- bool is_joy_button_pressed ( int device, int button )
- bool is_action_pressed ( String action )
- float get_joy_axis ( int device, int axis )
- String get_joy_name ( int device )
- Vector3 get_accelerometer ( )
- Vector2 get_mouse_speed ( ) const
- int get_mouse_button_mask ( ) const
- void set_mouse_mode ( int mode )
- int get_mouse_mode ( ) const
- void warp_mouse_pos ( Vector2 to )
- void action_press ( String arg0 )
- void action_release ( String arg0 )
- MOUSE_MODE_VISIBLE = 0
- MOUSE_MODE_HIDDEN = 1
- MOUSE_MODE_CAPTURED = 2