C# Actively detect Lock keys

后端 未结 4 1230
我在风中等你
我在风中等你 2021-01-24 06:38

I have a wireless keyboard and mouse that doesn\'t have any lock indicators, nor any software bundled to provide a visual aid, so I\'m making my own.

I got it so that if

4条回答
  •  粉色の甜心
    2021-01-24 06:50

    Look at the following article on global keyboard events. When one of the locks keys is pressed you could update your UI...

    http://www.codeproject.com/Articles/7294/Processing-Global-Mouse-and-Keyboard-Hooks-in-C

提交回复
热议问题