交换键盘按键 [英] Swap key press of keyboard

查看:70
本文介绍了交换键盘按键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在按一个键时更改键盘的键.例如,我按Page Up键,这样操作系统将变为Home,这意味着我按Home键,它将运行Page Up命令键.
请帮帮我!

解决方案

您要在整个系统范围内进行操作吗?我怀疑您可以在.NET中使用.您需要一个低级的系统范围内的钩子来做到这一点.我可以在所有其他程序(例如MS Word,Excel,...和Visual Studio中的代码设计)中做到这一点.


I want to change key of keyboard when i press a key. Example i press Page Up key so OS will change Home, that''s mean i press Home key it will run Page Up command key.
Pls help me!

解决方案

You want to do this system wide ? I doubt you can, in .NET. You want a low level system wide hook to do that.


When i run program, OS will understand what i define in my program. I can do that in all other program ex MS Word, Excel, ... and code design in Visual Studio.


这篇关于交换键盘按键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆