class
Opal::Input::Gamepad::MockDSL
- Opal::Input::Gamepad::MockDSL
- Reference
- Object
Overview
Declarative mock/dummy gamepad input builder for automated testing and recorded sessions
Defined in:
opal/gamepad/mock_dsl.crConstructors
Instance Method Summary
- #button_chord(btns : Array(Button | Symbol)) : self
- #click(btn : Button | Symbol) : self
- #dpad(direction : Symbol) : self
- #driver : Driver
- #left_stick(x : Float64, y : Float64) : self
- #press(btn : Button | Symbol) : self
- #release(btn : Button | Symbol) : self
- #right_stick(x : Float64, y : Float64) : self
- #trigger(side : Trigger | Symbol, value : Float64) : self
- #wait_frames(n : Int32) : self