映射CapsLock为Ctrl
2016-03-01 13:06
197 查看
环境 Windows
使用 AutoHotKey ( https://www.autohotkey.com/ ) ,运行下面的 script
+Capslock::Capslock
Capslock::Ctrl
原来的 CapsLock 可以用 Shit + CapsLock键实现,CapsLock 映射为 Ctrl
在 windows 下另外一种常见的键映射方法是修改注册表,与用 AutoHotKey 之类的软件比较
Registry remapping is generally more pure and effective than
AutoHotkey's remapping. For example, it works in a broader variety of games, it has no known
alt-tab issues, and it is capable of firing AutoHotkey's hook hotkeys (whereas AutoHotkey's remapping requires a
workaround).
If you choose to make the registry entries manually (explained below), absolutely no external software is needed to remap your keyboard. Even if you use
KeyTweak to make the registry entries for you, KeyTweak does not need to stay running all the time (unlike AutoHotkey).
Disadvantages:
Registry remapping is relatively permanent: a reboot is required to undo the changes or put new ones into effect.
Its effect is global: it cannot create remappings specific to a particular user, application, or locale.
It cannot send keystrokes that are modified by Shift, Control, Alt, or AltGr. For example, it cannot remap a lowercase character to an uppercase one.
It supports only the keyboard (AutoHotkey has mouse remapping and some
limited joystick remapping).
使用 AutoHotKey ( https://www.autohotkey.com/ ) ,运行下面的 script
+Capslock::Capslock
Capslock::Ctrl
原来的 CapsLock 可以用 Shit + CapsLock键实现,CapsLock 映射为 Ctrl
在 windows 下另外一种常见的键映射方法是修改注册表,与用 AutoHotKey 之类的软件比较
Remapping via the Registry's "Scancode Map"
Advantages:Registry remapping is generally more pure and effective than
AutoHotkey's remapping. For example, it works in a broader variety of games, it has no known
alt-tab issues, and it is capable of firing AutoHotkey's hook hotkeys (whereas AutoHotkey's remapping requires a
workaround).
If you choose to make the registry entries manually (explained below), absolutely no external software is needed to remap your keyboard. Even if you use
KeyTweak to make the registry entries for you, KeyTweak does not need to stay running all the time (unlike AutoHotkey).
Disadvantages:
Registry remapping is relatively permanent: a reboot is required to undo the changes or put new ones into effect.
Its effect is global: it cannot create remappings specific to a particular user, application, or locale.
It cannot send keystrokes that are modified by Shift, Control, Alt, or AltGr. For example, it cannot remap a lowercase character to an uppercase one.
It supports only the keyboard (AutoHotkey has mouse remapping and some
limited joystick remapping).
相关文章推荐
- android 软键盘强制弹出与隐藏
- NYOJ 整数划分(二)
- Linux安装MySQL的两种方法
- 为HttpsURLConnection添加信任证书
- 2.4.2 指针和const
- SPRING IN ACTION 第4版笔记-第一章-005-Bean的生命周期
- 242. Valid Anagram
- 南漂人
- 高精度运算2016.3.2
- 新学期
- javascript高级程序设计笔记-第五章(引用类型)
- cat ,more, Less区别
- Android直接连Mysql数据库
- mysql 事务控制
- HTML系列(三):文字设置
- BIOS与UEFI、MBR和GPT(转)
- GDB详解
- 删除Xcode下的插件
- 1.1.2 安装(Installation)
- 把现有Xcode项目上传到SVN服务器