class
Lapis::Test::InputSender
- Lapis::Test::InputSender
- Reference
- Object
Defined in:
libgodot/testing.crInstance Method Summary
- #action_down(action : String, strength : Float32 = 1.0_f32) : self
- #action_up(action : String) : self
- #key_down(keycode : Godot::Key | Int64, shift : Bool = false, ctrl : Bool = false, alt : Bool = false) : self
- #key_up(keycode : Godot::Key | Int64, shift : Bool = false, ctrl : Bool = false, alt : Bool = false) : self
- #mouse_down(button_index : Godot::MouseButton | Int64, position : Godot::Vector2 = Godot::Vector2::ZERO) : self
- #mouse_up(button_index : Godot::MouseButton | Int64, position : Godot::Vector2 = Godot::Vector2::ZERO) : self
- #send : Void
- #wait_frames(frames : Int32 = 1) : self
Instance Method Detail
def key_down(keycode : Godot::Key | Int64, shift : Bool = false, ctrl : Bool = false, alt : Bool = false) : self
#
def key_up(keycode : Godot::Key | Int64, shift : Bool = false, ctrl : Bool = false, alt : Bool = false) : self
#
def mouse_down(button_index : Godot::MouseButton | Int64, position : Godot::Vector2 = Godot::Vector2::ZERO) : self
#
def mouse_up(button_index : Godot::MouseButton | Int64, position : Godot::Vector2 = Godot::Vector2::ZERO) : self
#