NAME
|
kbleds – PS/2 keyboard leds |
SYNOPSIS
|
bind –a #λ /dev /dev/kbleds |
DESCRIPTION
| The kleds device serves a one–level directory containing a single file, kbleds, representing the state of the leds of a PS/2 keyboard. A read of the file returns the known state of the leds. A write of a line containing the name of a single led (scroll, caps or num) and the state changes the state of a led. |
EXAMPLE
|
SOURCE
|
/sys/src/9/pc/kbd.c /sys/src/9/pc/devkbleds.c |
BUGS
|
Changing the state of the leds a lot may break composed keys sometimes. |