Faking num lock, caps lock and scroll lock leds

added by mcnamaragio
5/10/2012 8:53:58 AM

3 Kicks, 306 Views

Some time ago I came across a post where the author wanted to turn on and off num lock, cap lock and scroll lock led light without actually toggling their state. This sounded challenging and impossible but after some googling I found a piece of code in C for achieving exactly what I was looking for. In this post I show how it works and how to port it to C#


1 comments

dpeterson
5/10/2012 8:53:41 AM
Fun little hack, seems like there's still quite a bit of low-level API available in Windows.