Way to turn on keyboard's caps-lock light without actually turning on caps-lock?
Posted
by cksubs
on Stack Overflow
See other posts from Stack Overflow
or by cksubs
Published on 2010-02-11T22:44:33Z
Indexed on
2010/03/22
14:01 UTC
Read the original article
Hit count: 442
I'm writing a program that uses caps-lock as a toggle switch. It would be nice to set the LED of the key to show that my program is on or off, like the capslock key does naturally.
I know that I could just SendInput('Capslock');
or whatever to actually turn caps-lock on and off. But my app is a typing program, and I don't want to have to deal with translating the all-caps keys that turning it on would give me into their lower/upper cases. I might go that route eventually, but not for this version.
I would however be interested in just turning on the LED light WITHOUT actually turning on caps-lock. Is there any way to do that?
Thank you.
© Stack Overflow or respective owner