caps lock

The caps lock key is a remnant of typewriters dating from the nineteenth century. Unless you’re in the accounting department, it’s probably not very useful, so today we’ll learn how to disable it.

大写锁定键是19世纪打字机的残留物。 除非您在会计部门,否则它可能不是很有用,所以今天我们将学习如何禁用它。

UPDATE: We’ve received some reports that some people are having problems with the registry keys on Windows 10 Home edition, at least. It’s a lot simpler to use Sharpkeys to remap your hotkeys though, so make sure to read our article on mapping any key to any key. That’s really the recommended technique – this is more for educational purposes anyway.

更新:我们已经收到一些报告,至少有些人在Windows 10 Home Edition上存在注册表项问题。 不过,使用Sharpkeys重映射您的热键要简单得多,因此请务必阅读我们的文章,该文章将任何键映射到任何键。 实际上,这是推荐的技术–无论如何,这更多是出于教育目的。

If you’re using Mac OS X instead, you can follow our guide on how to disable Caps Lock in OS X using a registry hack, or you can map any key to any key if you really want to.

如果您使用的是Mac OS X,则可以遵循我们的指南,了解如何使用注册表黑客在OS X中禁用Caps Lock ,或者如果您确实愿意,可以将任何键映射到任何键。

Note: This article was originally published years ago, but we’ve updated it and are republishing for everybody that might not have seen it. Image by Laurence Vagner

注意:本文最初是在多年前发布的,但是我们已经对其进行了更新,并且正在重新发布,以供所有未曾看到的用户使用。 图片由劳伦斯·瓦格纳( Laurence Vagner)

了解Windows密钥重新映射的工作方式 (Understanding How Windows Key Re-Mapping Works)

Windows doesn’t have a default setting to allow for disabling the key, so what we have to do is re-map the key to something non-existent so as to completely disable it. To do this manually, you’d open up regedit.exe and browse down to the following key:

Windows没有允许禁用密钥的默认设置,因此我们要做的是将密钥重新映射到不存在的密钥,以完全禁用它。 要手动执行此操作,请打开regedit.exe并向下浏览至以下键:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \键盘布局

Here’s the format of the binary data in the Scancode Map key, with the important parts in bold and various colors:

这是Scancode Map键中二进制数据的格式,其中重要的部分以粗体和各种颜色显示:

00000000 00000000 02000000 00003A00 00000000

00000000 00000000 02 000000 0000 3A00 00000000

Here’s how it works:

运作方式如下:

  • The first 16 zeros are just there to waste space.前16个零正在那里浪费空间。
  • The “02” in bold represents how many keys you are going to re-map plus 1. (It really represents the length of the data, but whatever)粗体的“ 02”表示要重新映射的键数加上1。(它实际上表示数据的长度,但随便什么)
  • The orange bolded “0000” is the key we actually want Windows to map TO, which in this case is nothing, or 0.橙色加粗的“ 0000”是我们实际上希望Windows映射到的键,在这种情况下为空,即为0。
  • The blue bolded “3A00” is the key we are mapping from, in this case the caps lock key.蓝色加粗的“ 3A00”是我们要映射的键,在这种情况下为大写锁定键。
  • The next 8 zeros are there to waste space as the null terminator.接下来的8个零在那里浪费空间作为空终止符。

You can map between multiple keys by incrementing the “02” and then adding another of the colorful bold blocks in the middle. The 3A00 in the mix is the scan code.  For example, if you wanted to disable the caps lock key and then change scroll lock into a caps lock key:

您可以通过增加“ 02”,然后在中间添加另一个彩色粗体块来映射多个键。 混合中的3A00是扫描代码。 例如,如果要禁用大写锁定键,然后将滚动锁定更改为大写锁定键,请执行以下操作:

00000000 00000000 03000000 00003A00 3A004600 00000000

00000000 00000000 03 000000 0000 3A00 3A00 4600 00000000

It might seem complicated, but it’s really fairly simple once you start working with it.

它可能看起来很复杂,但是一旦开始使用它就非常简单。

可下载的注册表黑客以禁用或重新映射Caps Lock键 (Downloadable Registry Hack to Disable or Remap the Caps Lock Key)

Now that you’ve learned how these things work internally, you can download and extract the zipfile which contains the following files:

现在您已经了解了这些内容在内部的工作方式,可以下载并提取包含以下文件的zip文件:

ChangeCapsToControl.reg Changes Caps Lock to be a Control key
ChangeCapsToShift.reg Changes Caps Lock to be a Shift key
SwitchCapsToScrollLock.reg Disables Caps Lock and swaps Scroll lock to be Caps Lock
KillCapsLock.reg Disables Caps Lock
DisableKeyboardRemap Uninstalls the preference by deleting the key
ChangeCapsToControl.reg 将Caps Lock更改为控制键
ChangeCapsToShift.reg 将Caps Lock更改为Shift键
SwitchCapsToScrollLock.reg 禁用Caps Lock并将滚动锁定替换为Caps Lock
KillCapsLock.reg 禁用大写锁定
DisableKeyboardRemap 通过删除密钥来卸载首选项

Once you’ve applied one of these registry files, you’ll have to reboot your computer for it to work. To uninstall, you can use the uninstall registry tweak, or you can simply delete the Scancode Map key entirely.

一旦应用了这些注册表文件之一,就必须重新启动计算机才能正常工作。 要卸载,您可以使用卸载注册表调整,也可以完全删除Scancode Map项。

Download Keyboard Mappings Registry Tweaks

下载键盘映射注册表调整

翻译自: https://www.howtogeek.com/howto/windows-vista/disable-caps-lock-key-in-windows-vista/

caps lock

caps lock_如何在Windows 7、8、10或Vista中禁用Caps Lock键相关推荐

  1. 如何在 Windows 主机上访问本地局域网中的 Linux 主机

    如何在 Windows 主机上访问本地局域网中的 Linux 主机 使用 Xshell 建立远程连接   在 Windows 主机上是可以访问本地局域网中的 Linux 主机的.这样做之所以可行,是因 ...

  2. 以管理员身份打开命令提示符_如何在Windows 8或10中以管理员身份打开命令提示符...

    以管理员身份打开命令提示符 Much of the time, opening the Command Prompt as a regular user is all you need. Someti ...

  3. win10禁用触摸键盘_如何在Windows 8和10中永久禁用触摸键盘

    win10禁用触摸键盘 You may have noticed that, mysteriously, Windows' Touch Keyboard icon keeps appearing in ...

  4. 如何在Windows 8或10上获取经典风格的主题

    Windows 8 and Windows 10 no longer include the Windows Classic theme, which hasn't been the default ...

  5. win10屏幕快照快捷键_如何在Windows 8和10中更改默认屏幕快照文件夹的位置

    win10屏幕快照快捷键 Windows redesigned its screenshot feature in Windows 8, and you no longer need to launc ...

  6. 添加右键菜单_如何在Windows文件夹的右键菜单中添加“打开PowerShell”

    原文:https://www.howtogeek.com/165268/how-to-add-open-powershell-here-to-the-context-menu-in-windows/ ...

  7. 如何在Windows 7 Media Center和Player中播放FLAC文件

    An annoyance for music lovers who enjoy FLAC format, is there's no native support for WMP or WMC. If ...

  8. 【Windows】Win 10下的 PS/2 接口的键鼠连接问题

    目录 前言 1 USB 接口 vs PS/2 接口 2 连接键盘 3 连接鼠标 附 总结 前言 Win 10下的 PS/2 接口的键鼠连接并不顺利.本文记录了该问题. 1 USB 接口 vs PS/2 ...

  9. 如何在 Windows XP 的事件查看器中查看和管理事件日志

    事件查看器 在 Windows XP 中,事件是在系统或程序中发生的.要求通知用户的任何重要事情,或者是添加到日志中的项.事件日志服务在事件查看器中记录应用程序.安全和系统事件.通过 使用事件查看器中 ...

最新文章

  1. “云时代架构”经典文章阅读感想十二
  2. icoding复习3
  3. Facebook产品经理的三年叙事与协作思考
  4. 电竞比分源码/免买分源码/可二开/支持最新PHP7.3/LOL,王者,吃鸡等等电竞比分源码
  5. Docker拉取ZooKeeper镜像安装运行
  6. 【转】jsp+servlet和SSM分别是如何实现文件上传(示例)
  7. 源代码安装apache遇到的问题解决
  8. hashMap 根据已有知识知道的
  9. 16 Managing Undo
  10. pycharm git使用_通过Pycharm中的版本控制工具VCS使用Git
  11. android 微信地址选择,安卓微信位置实时修改
  12. [笔记分享] [SD] 块设备驱动学习小结
  13. 往VS项目中添加本地图片资源
  14. 入手评测 i7 1255u和i5 1235U选哪个好
  15. OpenWRT 迅雷远程下载设置
  16. 红帽 Linux Redhat6.4安装MySQL 5.1
  17. vi 的完整指令说明 -- YenYen 整理
  18. html页面div的显示/隐藏
  19. Android 云游戏实现
  20. Terracotta for Spring

热门文章

  1. 图像拼接(融合)算法—matlab代码
  2. FFmpeg H264编码
  3. 人体关键点评价指标---OKS计算
  4. 我离职后面试收割小米等大厂offer,成功定级腾讯T3-2
  5. 如何判断是否患上了咽喉炎?
  6. checkra1n iOS 13.3.1 越狱 + ipa脱壳
  7. BlenderGIS 2.2.6导入数据NoneType 解决
  8. CF243C Colorado Potato Beetle
  9. 第三方库实现中文词频分析和词语可视化(jieba,wordcloud库)
  10. 笔记本电脑散热问题的探究