我想要完成的是知道键盘上的按键是什么,无论我的应用程序是在前台还是后台运行。原因是我想要更换蹩脚的华硕ROG Armor并扩展其可能性。如果按下ALT键,就像一样,当与ALT键一起按下时产生可见字符的所有键都应该用某种颜色点亮。为此,我的应用程序必须知道在Windows''吃'此事件之前哪个键已经被击落。
解决方案
你好C. Posingies,
1。不确定以下链接是否有用:
通过屏蔽键控字符输入.NET控制台密码
2。但看看。它可以作为一个起点。
- 生物。
What I want to accomplish is to know what key has been pressed on the keyboard regardless whether my application is running in fore- or background. The reason is that I want to replace the crappy ASUS ROG Armour stuff and to extend its possibilities. Like if you press the ALT key, all keys that would produce a visible character when pressed together with the ALT key should be illuminated with a certain color. To do so, my application has to know which key has been downed before Windows ''eats'' this event.
解决方案Hello C. Posingies,
1. Not sure whether the following link will be helpful :
.NET Console Password Input By Masking Keyed-In Characters
2. But have a look. It may serve as a starting point.
- Bio.
更多推荐
如何使用.NET创建密钥记录器?
发布评论