pub trait ButtonInput { fn press(&self); fn release(&self); fn click(&self) { ... } }
Emulates the action of pressing a button.
Presses the button and releases it immediately.