更改键盘键 [英] Change Keyboard Keys
问题描述
我正在寻找能够改变我的键盘按键的解决方案 - (键盘重新映射,键盘钩子或其他东西)
如果我按A它会输入X
我按B键会输入F
等等......
我大多是我想它应该是一个字符串替换选项。
示例如果它得到 - AB它将替换整个字符串并输入M
等等....
我想激活我的程序,并希望在窗口的任何地方输入我的(这个)方式。这样的记事本,任何地方的字。
之前有人为自己的语言做过这样的项目吗?或者有任何想法?
感谢先进的
使用keylogger获取密钥并写入e.handle = true;然后
SendKeys.Send(根据您的意愿任意键)
< blockquote>e.handle = true它是用keypressevent写的
或者只是创建一个keypresseventarg对象然后用它来写e.handle = true;
看一下这个代码项目帖子 [ ^ ]
I am looking for a solution that will do change my keyboard keys -(keyboard remapping,keyboard hooker or something else)
if I press A it will type X
and I press B it will type F
and etc etc...
and mostly I want It should a string replacer option.
example if it get - AB it will replace whole string and type M
and etc etc....
I want to active my program and want to type my (this) way anywhere at window.Such notepad,word anywhere.
Anybody do such this project before for their own language? or have any idea?
Thanks in advanced
use keylogger to get the key and writee.handle = true;and then
SendKeys.Send("any key according to your wish")
"e.handle=true" it is to be written in keypressevent
or just create an "keypresseventarg" object and then use it to write "e.handle=true;"
Have a look at this code project post[^]
这篇关于更改键盘键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!