映射如何禁用某个键或修改键盘映射

键盘映射  时间:2021-04-14  阅读:()

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键就可以了。

LayerStack$10.04/月(可选中国香港、日本、新加坡和洛杉矶)高性能AMD EPYC (霄龙)云服务器,

LayerStack(成立于2017年),当前正在9折促销旗下的云服务器,LayerStack的云服务器采用第 3 代 AMD EPYC™ (霄龙) 处理器,DDR4内存和企业级 PCIe Gen 4 NVMe SSD。数据中心可选中国香港、日本、新加坡和洛杉矶!其中中国香港、日本和新加坡分为国际线路和CN2线路,如果选择CN2线路,价格每月要+3.2美元,付款支持paypal,支付宝,信用卡等!...

湖北22元/月(昔日数据)云服务器,国内湖北十堰云服务器,首月6折

昔日数据怎么样?昔日数据新上了湖北十堰云服务器,湖北十堰市IDC数据中心 母鸡采用e5 2651v2 SSD MLC企业硬盘 rdid5阵列为数据护航 100G高防 超出防御峰值空路由2小时 不限制流量。目前,国内湖北十堰云服务器,首月6折火热销售限量30台价格低至22元/月。(注意:之前有个xrhost.cn也叫昔日数据,已经打不开了,一看网站LOGO和名称为同一家,有一定风险,所以尽量不要选择...

Megalayer 香港CN2优化线路VPS主机速度和性能综合评测

对于Megalayer云服务器提供商在之前也有对于他们家的美国服务器和香港服务器进行过评测和介绍,但是对于大部分网友来说需要独立服务器和站群服务器并不是特别的普及,我们很多网友使用较多的还是云服务器或者VPS主机比较多。在前面也有在"Megalayer新增香港VPS主机 1GB内存 50GB SSD 2M带宽 月59元"文章中有介绍到Megalayer商家有新增香港CN2优化VPS主机。那时候看这...

键盘映射为你推荐
支持ipadaspweb服务器asp网站挂上服务器,详细步骤德国iphone禁售令有人说苹果手机从2017年开始,中国禁售了360邮箱lin.long.an@360.com是什么邮箱宜人贷官网我在宜人财富贷款2万元,下款的时候时候系统说银行卡号错误,然 我在宜人财富贷款2万我在宜人财富贷款购物车什么叫淘宝购物车银花珠树晓来看晚来天欲雪,能饮一杯无。相似的句子腾讯官方电话腾讯公司电话多少即时通平台有好的放单平台吗?billboardchina美国Billboard公告牌年度10大金曲最新华丽合辑
大庆服务器租用 fastdomain linkcloud 国外空间服务商 云主机51web hnyd hostker 1g内存 中国电信测速网 卡巴斯基是免费的吗 空间购买 数据库空间 cdn网站加速 域名和主机 zcloud 29美元 衡天主机 sockscap怎么用 最年轻博士 最好的空间留言 更多