How to Disab le Caps Lock Key in
Windows 7 or Vista
Windows 7或Vista下如何禁用大小写锁定键同样适用于任意按键间的映射
The caps lockkey is one of thoseremnants of anotherage ofcomputers, backwhen peopel used to shoutat each othermore often.Unless you’re in the accounting department, it’s probably not veryuseful, so todaywe’l l learnhowto disable it.
大小写锁定键毫无用处索性将其禁用。
If you’re usingMacOSXinstead,you can fol lowourguideon howtodisable Caps LockinOSXusinga registryhack, oryou can mapanykeytoany key if you real lywant to.
如果你是M acOS X用户. . .
Note:This article was original lypubl ished years ago, but we’veupdated it and are republ ishing foreverybodythat mightnot haveseen it.Image by Laurence Vagner
再版说明略过。
Understanding How Windows Key Re-Mapping Works了解Win dows键盘重映射的工作方式
Windows doesn’t have a default settnig to al lowfordisabl ing the key,so what we have to do is -remap the keyto somehting non-existent soas to completelydisable it.To dothis manual ly,you’d open upregedit.exe and browse down to the fol lowing key:
为了禁用无用的大小写锁定键请打开注册表编辑器开始>运行>输入regedit 定位到以下注册表键。
Here’s the format of the binayr data in the Scanocde Map key,with theimportant parts in bold andvarious colors:
Scanc ode Map键的二进制值的格式如下其中加粗和着色处为重点。
Here’s how it works:
其工作方式如下
The first 16 zerosarejust thereto wastespace.
前16个字符是浪费空间的摆设。
The“02″ in bold represents how many keys you are goingtore-map plus 1. (It real lyrepresents the lengthof the data, butwhatever)
"02"代表需要重新映射的按键的数量。
The orange bolded“0000″ is the keywe actual lywant Windowsto mapTO,which in this case is nothnig, or0.
橙色加粗的"0000"是映射到的键码本例中为不存在的按键。
The blue bolded“3A00″ is the keywe are mappnigfrom, inthiscase the caps lock key.
蓝色粗体的"3A00"是需要映射的按键本例中即大小写锁定键。
The next8zerosare thereto wastespaceas the nul lterminator.
剩余的8个零不用理会。
You can map between multiple keys by incrementing the“02″ andthen adding anotherof the colorful bold blocks in the middle.The3A00 in the mixisthe scan code. Forexample, if you wanted todisablethecaps lockkeyandthenchange scrol l lockintoa caps lockke y:
通过增大"02"增加另外的着色粗体数字块可以实现多个键的映射。例如你希望禁用大小写锁定键后使用scrol l lock键来作为大小写锁定键
It mightseem complicated, but it’s realyl fairlysimple onceyou startworking with it.
看起来有些纠结试试看其实并不难。
Once you’ve appl ied one of theseregistryfi les,you’l l have to rebootyourcomputer for it to work.To uninstal l,you can use the uninstal lregistrytweak, oryou can simply delete the Scancode Map keyentirely.
重启似乎注销就可以了以应用修改使键盘的重新映射生效。如果要还原到重映射前的按键在注册表中直接删除S canco de Map键就可以了。
DiyVM是一家比较低调的国人主机商,成立于2009年,提供VPS主机和独立服务器租用等产品,其中VPS基于XEN(HVM)架构,数据中心包括香港沙田、美国洛杉矶和日本大阪等,CN2或者直连线路,支持异地备份与自定义镜像,可提供内网IP。本月商家最高提供5折优惠码,优惠后香港沙田CN2线路VPS最低2GB内存套餐每月仅50元起。香港(CN2)VPSCPU:2cores内存:2GB硬盘:50GB/R...
HostNamaste是一家成立于2016年3月的印度IDC商家,目前有美国洛杉矶、达拉斯、杰克逊维尔、法国鲁贝、俄罗斯莫斯科、印度孟买、加拿大魁北克机房。其中洛杉矶是Quadranet也就是我们常说的QN机房(也有CC机房,可发工单让客服改机房);达拉斯是ColoCrossing也就是我们常说的CC机房;杰克逊维尔和法国鲁贝是OVH的高防机房。采用主流的OpenVZ和KVM架构,支持ipv6,免...
Sharktech又称SK或者鲨鱼机房,是一家主打高防产品的国外商家,成立于2003年,提供的产品包括独立服务器租用、VPS云服务器等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等。之前我们经常分享商家提供的独立服务器产品,近期主机商针对云虚拟服务器(CVS)提供优惠码,优惠后XS套餐年付最低仅33.39美元起,支持使用支付宝、PayPal、信用卡等付款方式。下面以XS套餐为例,分享产品配...