press_numlock

Function press_numlock 

Source
pub fn press_numlock(led_path_and_state: Option<(&PathBuf, State)>) -> Res<()>
Expand description

Emulates press of a numlock key. If led_path_and_state is provided, it is checked if the state got toggled.