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

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

Hosteons:洛杉矶/纽约/达拉斯免费升级10Gbps端口,KVM年付21美元起

今年1月的时候Hosteons开始提供1Gbps端口KVM架构VPS,目前商家在LET发布消息,到本月30日之前,用户下单洛杉矶/纽约/达拉斯三个地区机房KVM主机可以从1Gbps免费升级到10Gbps端口,最低年付仅21美元起。Hosteons是一家成立于2018年的国外VPS主机商,主要提供VPS、Hybrid Dedicated Servers及独立服务器租用等,提供IPv4+IPv6,支持...

DiyVM:499元/月香港沙田服务器,L5630*2/16G内存/120G SSD硬盘/5M CN2线路

DiyVM是一家成立于2009年的国人主机商,提供的产品包括VPS主机、独立服务器租用等,产品数据中心包括中国香港、日本大阪和美国洛杉矶等,其中VPS主机基于XEN架构,支持异地备份与自定义镜像,VPS和独立服务器均可提供内网IP功能。商家VPS主机均2GB内存起步,三个地区机房可选,使用优惠码后每月69元起;独立服务器开设在香港沙田电信机房,CN2线路,自动化开通上架,最低499元/月起。下面以...

2021HawkHost老鹰主机黑色星期五虚拟主机低至3.5折 永久4.5折

老鹰主机HawkHost是个人比较喜欢的海外主机商,如果没有记错的话,大约2012年左右的时候算是比较早提供支付宝付款的主机商。当然这个主机商成立时间更早一些的,由于早期提供支付宝付款后,所以受众用户比较青睐,要知道我们早期购买海外主机是比较麻烦的,信用卡和PAYPAL还没有普及,大家可能只有银联和支付宝,很多人选择海外主机还需要代购。虽然如今很多人建站少了,而且大部分人都用云服务器。但是老鹰主机...

键盘映射为你推荐
建企业网站建一个企业网站需要多少钱?大概要多久做好?中国企业在线如何查询企业是否可靠?360公司迁至天津请问360公司的全称是什么?ipad代理苹果官网购买ipad要几天银花珠树晓来看晚来天欲雪,能饮一杯无。相似的句子正大天地网正大光明是什么数字tumblr上不去百度为什么经常打不开如何发帖子怎么发帖啊站点管理谁有好的车站管理制度?联系我们代码农业银行代码
大庆服务器租用 cve-2014-6271 edis googleapps 2014年感恩节 香港托管 68.168.16.150 名片模板psd win8升级win10正式版 湖南服务器托管 web服务器的架设 徐正曦 100mbps 厦门电信 深圳域名 测试网速命令 阵亡将士纪念日 七牛云存储 asp空间 学生机 更多