Hello! I did some little DOS script utilities lately and try to make a key state utility. Its quite easy to ask at least for the CapsLock state using keyboard.device, but this works for PS/2 keyboards only. Is there any way to do the same for USB keyboards? Documentation is scarce on this and it seems that hid.fdclass feeds input.device directly, without replacing keyboard.device by a compatible device layer.
Sun, 2011-10-23 19:51#1
Caps/NumLock state of keyboard (USB)