Crate numlockctl_linux

Crate numlockctl_linux 

Source
Expand description

Easy way to trigger and get state of numlock in linux

Enums§

Error
Error type
State
State - ON/OFF

Functions§

get_led_path_and_state
Gets a numlock led path and its state
get_led_state
Gets the led state of a numlock led given its path
press_numlock
Emulates press of a numlock key. If led_path_and_state is provided, it is checked if the state got toggled.

Type Aliases§

Res
Result type alias