Function autopilot::key::toggle
[−]
[src]
pub fn toggle<T: KeyCodeConvertible>(key: T, down: bool, flags: &[Flag])
Holds down the given key or keycode if down
is true
, or releases it if
not. Characters are converted to a keycode corresponding to the current
keyboard layout.