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

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

GigsGigsCloud 春节优惠2022 指定云服务器VPS主机85折循环优惠码

GigsGigsCloud商家在之前介绍的还是比较多的,因为之前我一直有几台机器在使用,只是最近几年网站都陆续转型删除掉不少的网站和闲置域名,包括今年也都减少网站开始转型自媒体方向。GigsGigsCloud 商家产品还是比较有特色的,有提供香港、新加坡等亚洲机房的云服务器、VPS和独立服务器等。第一、新春优惠活动优惠码:CNY2022-15OFF截止到正月初二,我们可以使用上述优惠码在购买指定G...

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

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

腾讯云新用户省钱秘笈购买云服务器

目前国内云计算市场竞争异常激烈,尤其是国内的腾讯云、阿里云、景安等商家促销活动一波接一波的进行,对于有需要的用户确实得到不小的实惠。但是这样给予国内的主机商确实是比较大的打击,毕竟这些商家的背景和实例强劲,即便是贴本补贴优惠,也是不怕的。前两年阿里一家各种活动促销,确实在国内市场占据主要的市场地位,腾讯云开始两年没有较大的吸引用户,不过这两年的发展还是比较稳健的。我们很多网友在之前肯定也享受到一些...

键盘映射为你推荐
360退出北京时间utc+8 13:30-14:00换成北京时间是什么时候电子商务世界世界前十大电子商务企业名字美国独立美国独立战争美国独立美国独立时不是只有13个洲吗?后来的领土都是怎么得来的。repaired金盾评级repaired是什么意思百度分享工具百度云 网盘默认下载工具是什么??权限777777权限是什么?站长统计【求站长统计工具CNZZ的详细使用方法】网站日志iis日志详解,网站日志中的每一个数据代表什么系统错误电脑开机或重启都显示 加载操作系统错误 该怎么办?
cn域名 台湾服务器 z.com php主机 美国php主机 国外空间 宁波服务器 流量计费 免费全能主机 银盘服务 starry photobucket ledlamp 测试网速命令 广州服务器托管 美国主机侦探 windowsserver2012r2 建站技术 建站行业 pptpvpn 更多