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键就可以了。
今年1月的时候Hosteons开始提供1Gbps端口KVM架构VPS,目前商家在LET发布消息,到本月30日之前,用户下单洛杉矶/纽约/达拉斯三个地区机房KVM主机可以从1Gbps免费升级到10Gbps端口,最低年付仅21美元起。Hosteons是一家成立于2018年的国外VPS主机商,主要提供VPS、Hybrid Dedicated Servers及独立服务器租用等,提供IPv4+IPv6,支持...
DiyVM是一家成立于2009年的国人主机商,提供的产品包括VPS主机、独立服务器租用等,产品数据中心包括中国香港、日本大阪和美国洛杉矶等,其中VPS主机基于XEN架构,支持异地备份与自定义镜像,VPS和独立服务器均可提供内网IP功能。商家VPS主机均2GB内存起步,三个地区机房可选,使用优惠码后每月69元起;独立服务器开设在香港沙田电信机房,CN2线路,自动化开通上架,最低499元/月起。下面以...
老鹰主机HawkHost是个人比较喜欢的海外主机商,如果没有记错的话,大约2012年左右的时候算是比较早提供支付宝付款的主机商。当然这个主机商成立时间更早一些的,由于早期提供支付宝付款后,所以受众用户比较青睐,要知道我们早期购买海外主机是比较麻烦的,信用卡和PAYPAL还没有普及,大家可能只有银联和支付宝,很多人选择海外主机还需要代购。虽然如今很多人建站少了,而且大部分人都用云服务器。但是老鹰主机...