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

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

宝塔面板批量设置站点404页面

今天遇到一个网友,他在一个服务器中搭建有十几个网站,但是他之前都是采集站点数据很大,但是现在他删除数据之后希望设置可能有索引的文章给予404跳转页面。虽然他程序有默认的404页面,但是达不到他引流的目的,他希望设置统一的404页面。实际上设置还是很简单的,我们找到他是Nginx还是Apache,直接在引擎配置文件中设置即可。这里有看到他采用的是宝塔面板,直接在他的Nginx中设置。这里我们找到当前...

美国Cera 2核4G 20元/45天 香港CN2 E5 20M物理机服务器 150元 日本CN2 E5 20M物理机服务器 150元 提速啦

提速啦 成立于2012年,作为互联网老兵我们一直为用户提供 稳定 高速 高质量的产品。成立至今一直深受用户的喜爱 荣获 “2021年赣州安全大赛第三名” “2020创新企业入围奖” 等殊荣。目前我司在美国拥有4.6万G总内存云服务器资源,香港拥有2.2万G总内存云服务器资源,阿里云香港机房拥有8000G总内存云服务器资源,国内多地区拥有1.6万G总内存云服务器资源,绝非1 2台宿主机的小商家可比。...

月神科技-美国CERA 5折半价倒计时,上新华中100G高防云59起!

官方网站:点击访问月神科技官网优惠码:美国优惠方案:CPU:E5-2696V2,机房:国人热衷的优质 CeraNetworks机房,优惠码:3wuZD43F 【过期时间:5.31,季付年付均可用】活动方案:1、美国机房:洛杉矶CN2-GIA,100%高性能核心:2核CPU内存:2GB硬盘:50GB流量:Unmilited端口:10Mbps架构:KVM折后价:15元/月、150元/年传送:购买链接洛...

键盘映射为你推荐
org_1http操作httpaspweb服务器web服务器怎样才能支持.asp360退出北京时间在国外如何把手机时间调回到中国北京时间?重庆400年老树穿楼生长重庆海拔500左右的红沙土适合栽哪种果树支付宝是什么什么是支付宝? 请详细介绍.科创板首批名单江苏北人的机器人在同行中的评价怎么样?徐州商标徐州松木家具前十名香盛圆排第几什么是seo学习SEO的好处是什么?香港空间香港有哪些购物场所
网站空间申请 域名系统 com域名价格 日本私人vps 阿里云邮箱登陆首页 dreamhost 国外空间服务商 论坛空间 蜗牛魔方 爱奇艺vip免费试用7天 卡巴斯基破解版 双线asp空间 网站加速软件 中国linux php服务器 网页加速 江苏徐州移动 阿里dns 云销售系统 广东服务器托管 更多