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

键盘映射  时间: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键就可以了。

Webhosting24:€15/年-AMD Ryzen/512MB/10GB/2TB/纽约&日本&新加坡等机房

Webhosting24是一家始于2001年的意大利商家,提供的产品包括虚拟主机、VPS、独立服务器等,可选数机房包括美国洛杉矶、迈阿密、纽约、德国慕尼黑、日本、新加坡、澳大利亚悉尼等。商家VPS主机采用AMD Ryzen 9 5950X CPU,NVMe磁盘,基于KVM架构,德国机房不限制流量,网站采用欧元计费,最低年付15欧元起。这里以美国机房为例,分享几款套餐配置信息。CPU:1core内存...

1C2G5M轻量服务器48元/年,2C4G8M三年仅198元,COM域名首年1元起

腾讯云双十一活动已于今天正式开启了,多重优惠享不停,首购服务器低至0.4折,比如1C2G5M轻量应用服务器仅48元/年起,2C4G8M也仅70元/年起;个人及企业用户还可以一键领取3500-7000元满减券,用于支付新购、续费、升级等各项账单;企业用户还可以以首年1年的价格注册.COM域名。活动页面:https://cloud.tencent.com/act/double11我们分享的信息仍然以秒...

Hostodo:$19.99/年KVM-1GB/12GB/4TB/拉斯维加斯

Hostodo发布了几款采用NVMe磁盘的促销套餐,从512MB内存起,最低年付14.99美元,基于KVM架构,开设在拉斯维加斯机房。这是一家成立于2014年的国外VPS主机商,主打低价VPS套餐且年付为主,基于OpenVZ和KVM架构,产品性能一般,数据中心目前在拉斯维加斯和迈阿密,支持使用PayPal或者支付宝等付款方式。下面列出几款NVMe硬盘套餐配置信息。CPU:1core内存:512MB...

键盘映射为你推荐
企业推广企业营销活动主要包括哪些内容?建企业网站建一个企业网站需要多少钱?大概要多久做好?ym.163.comfoxmail设置163免费企业邮箱outlookexpressoutlook express 是什么?特朗普吐槽iPhone为什么iphone x卖的这么好什么是支付宝支付宝是什么概念?asp.net网页制作ASP.NET设计网页的方法?面板flashyixingjia通配符的使用方法开放平台众安开放平台是干什么的?上面的众推广是什么?
深圳虚拟主机 黑龙江域名注册 花生壳免费域名申请 阿里云邮箱登陆首页 webhosting 优key lighttpd 12306抢票助手 圣诞节促销 美国十次啦服务器 40g硬盘 双十一秒杀 服务器监测 监控服务器 免费asp空间申请 如何登陆阿里云邮箱 网站加速 北京主机托管 七十九刀 香港ip 更多