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键就可以了。
数脉科技(shuhost)8月促销:香港独立服务器,自营BGP、CN2+BGP、阿里云线路,新客立减400港币/月,老用户按照优惠码减免!香港服务器带宽可选10Mbps、30Mbps、50Mbps、100Mbps带宽,支持中文本Windows、Linux等系统。数脉香港特价阿里云10MbpsCN2,e3-1230v2,16G内存,1T HDD 或 240G SSD,10Mbps带宽,IPv41个,...
CloudCone 商家在以前的篇幅中也有多次介绍到,这个商家也蛮有意思的。以前一直只有洛杉矶MC机房,而且在功能上和Linode、DO、Vultr一样可以随时删除采用按时计费模式。但是,他们没有学到人家的精华部分,要这样的小时计费,一定要机房多才有优势,否则压根没有多大用途。这不最近CloudCone商家有点小变化,有新人洛杉矶优化线路,具体是什么优化的等会我测试看看线路。内存CPU硬盘流量价格...
pacificrack又追加了3款特价便宜vps搞促销,而且是直接7折优惠(一次性),低至年付7.2美元。这是本月第3波便宜vps了。熟悉pacificrack的知道机房是QN的洛杉矶,接入1Gbps带宽,KVM虚拟,纯SSD RAID10,自带一个IPv4。官方网站:https://pacificrack.com支持PayPal、支付宝等方式付款7折秒杀优惠码:R3UWUYF01T内存CPUSS...