开发者

Can we turn on/off Scroll Lock light by software instructions?

开发者 https://www.devze.com 2022-12-13 19:05 出处:网络
Is it possible to turn on/off Scroll Lock light by software instructions like outb or some开发者_如何学Gothing else? And if the answer is yes, can we restrict the use of these instructions so that the

Is it possible to turn on/off Scroll Lock light by software instructions like outb or some开发者_如何学Gothing else? And if the answer is yes, can we restrict the use of these instructions so that they are only allowed in ring-0?


question part one (is it possible?): ledd

ledd is part of the ledcontrol package, which allows you to show arbitrary information on the normally-unused keyboard LEDs. It is fully scriptable, so you can show any TRUE/FALSE condition accessible or indicate an arbitrary value. It supports blinking LEDs with priority levels and animations. The LEDs not used by ledd should function as normal.


Take a look at the SetKeyboardState Win32 API function

0

精彩评论

暂无评论...
验证码 换一张
取 消