heads
heads copied to clipboard
CAPSLOCK Detection
CAPSLOCK Detection when typing in password to avoid lockout.
Have not found a unified way to do that with busybox yet, thanks for the reminder.
One way, not even sure its there since those ThinkPad do not have the caplsock led which is the problem here, could be
cat /sys/class/leds/tpacpi::kbd_backlight/max_brightness
xset could do it, but not sure. Will have to dig down here (yeek x)
Nope. Just changes the led, not interact with console....
Seems like kbd tool would permit this. Smallest poc would be c code, ioctl on try to check input modifiers.
Still ugly. Is there something from keyboard drivers exposed?