Expand description
Easy way to trigger and get state of numlock in linux
Enums§
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