[][src]Trait virtual_input::keyboard::Keyboard

pub trait Keyboard {
    fn press(&self, key: KeyboardKey) -> bool;
fn release(&self, key: KeyboardKey) -> bool;
fn is_pressed(&self, key: KeyboardKey) -> bool; }

Required methods

fn press(&self, key: KeyboardKey) -> bool

fn release(&self, key: KeyboardKey) -> bool

fn is_pressed(&self, key: KeyboardKey) -> bool

Loading content...

Implementors

Loading content...