[−][src]Trait keytokey::USBKeyOut
the handlers use this trait to generate their output
Required methods
fn send_keys(&mut self, keys: &[KeyCode])
send these USB Keycodes concurrently rigth away.
fn register_key(&mut self, key: KeyCode)
register these USB keycodes to be send on .send_registered
fn send_registered(&mut self)
send registered keycodes (or an empty nothing-pressed status)
fn send_empty(&mut self)
helper that sends an empty status
fn state(&mut self) -> &mut KeyboardState
retrieve a mutable KeyboardState
fn ro_state(&self) -> &KeyboardState
fn debug(&mut self, s: &str)
fn bootloader(&mut self)
Provided methods
fn send_unicode(&mut self, c: char)
fn send_string(&mut self, s: &str)
send a utf-8 string to the host all characters are converted into unicode input!