愚人节导入_在愚人节的恶作剧破坏之后,如何重置键盘的映射?

愚人节导入_在愚人节的恶作剧破坏之后,如何重置键盘的映射?_第1张图片

愚人节导入

愚人节导入_在愚人节的恶作剧破坏之后,如何重置键盘的映射?_第2张图片

A few small harmless pranks between friends is one thing, but what do you do when you are the victim of a prank that turns the key mapping for your keyboard into a complete train wreck? Today’s SuperUser Q&A post has the answers that a frustrated reader needs to deal with his keyboard woes.

朋友之间进行几次无害的小恶作剧是一回事,但是当您成为恶作剧的受害者时,该怎么办呢? 今天的SuperUser Q&A帖子提供了沮丧的读者需要解决的键盘问题的答案。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

Photo courtesy of midiman (Flickr).

图片由Midiman(Flickr)提供 。

问题 (The Question)

SuperUser reader Google Services wants to know how to reset his keyboard’s mapping after a friend’s April Fool’s Day prank completely messed it up:

超级用户阅读器Google服务想知道在朋友的愚人节恶作剧完全搞砸之后如何重设键盘映射:

My friend/enemy switched the mapping for the keys on my keyboard as an April Fool’s Day joke. When I press Y, Z appears on the screen. Some keys still function properly such as B, X, G, I, D, and a few others. Also, when I press Ctrl, it functions as the Enter key. Even the function keys have been switched around!!

我的朋友/敌人在愚人节的一个玩笑中切换了键盘上的键的映射。 当我按Y时,Z出现在屏幕上。 某些键仍然可以正常工作,例如B,X,G,I,D和其他一些键。 另外,当我按Ctrl时,它也用作Enter键。 甚至功能键也已切换!!

I called a technician, but even he was unable to find the problem and told me that reinstalling the operating system was the only way to go. I really do not want to resort to calling my friend and asking him how to undo it.

我打电话给技术人员,但即使他也找不到问题,并告诉我,重新安装操作系统是唯一的方法。 我真的不想诉诸我的朋友,问他如何撤消它。

I am using Windows 7 Professional 64-bit and thankfully, at least, there is no problem with my mouse. Can you help me?

我使用的是Windows 7 Professional 64位操作系统,至少,鼠标没有问题。 你能帮助我吗?

How do you reset a keyboard’s mapping after an April Fool’s Day prank wrecks it?

愚人节恶作剧破坏后,如何重置键盘的映射?

答案 (The Answer)

SuperUser contributors RJFalconer and Ben N have the answer for us. First up, RJFalconer:

超级用户贡献者RJFalconer和Ben N为我们找到了答案。 首先,RJFalconer:

In this case, it sounds like a different keyboard layout has been set as the default (i.e. German, since that would cause a swap between Y and Z).

在这种情况下,听起来好像已将其他键盘布局设置为默认键盘布局(即德语,因为这会导致Y和Z之间的交换)。

You can change your keyboard’s layout via the Control Panel:

您可以通过控制面板更改键盘的布局:

  1. Clock, Language, and Region

    时钟,语言和地区
  2. Region and Language

    地区和语言
  3. Keyboards and Languages Tab -> Change Keyboards

    键盘和语言选项卡->更改键盘

Press Alt+Shift to switch keyboard layouts.

Alt + Shift切换键盘布局。

However, this does not explain the problem with the function keys. It is possible to arbitrarily remap keys via the registry. I think you will need a third-party tool to fix this (SharpKeys, for example).

但是,这不能解释功能键的问题。 可以通过注册表任意地重新映射键。 我认为您将需要第三方工具来解决此问题(例如SharpKeys )。

Remember, you can also use the On Screen Keyboard to type with your mouse (Start Menu\Programs\Accessories\Ease of Access\On Screen Keyboard).

请记住,您还可以使用屏幕键盘用鼠标键入(“开始”菜单\“程序” \“附件” \“轻松访问” \“屏幕键盘”)。

Followed by the answer by Ben N:

随后是Ben N的答案:

If you do not want to use third-party applications to reverse the SharpKeys modifications, you can cut out the middleman and edit the Registry directly.

如果您不想使用第三方应用程序撤消对SharpKeys的修改,则可以删掉中间人并直接编辑注册表。

Open the Registry Editor by navigating to C:\Windows\regedit.exe in Windows Explorer. Once it is open, navigate here:

通过在Windows资源管理器中导航到C:\ Windows \ regedit.exe ,打开注册表编辑器。 打开后,请在此处导航:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

    HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \键盘布局

If there are entries named Scancode Map or Value Scancode Map, delete them. Those entries are what causes Windows to remap incoming key presses from the keyboard.

如果有名为Scancode MapValue Scancode Map的条目,请删除它们。 这些条目是导致Windows重新映射键盘上的传入按键的原因。

Once you are done deleting them, restart your computer. Key mappings will be reset to their default settings. You can accomplish all of this with your mouse only and no keyboard.

删除它们后,请重新启动计算机。 键映射将重设为其默认设置。 您只能用鼠标而不用键盘来完成所有这些操作。

References for the IDs

ID参考

Main.cs in the SharpKeys Source Code

SharpKeys源代码中的Main.cs

How to Disable the Insert Key in Windows [WikiHow]

如何在Windows中禁用插入键 [WikiHow]



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程 。

翻译自: https://www.howtogeek.com/250021/how-do-you-reset-a-keyboards-mapping-after-an-april-fools-prank-wrecks-it/

愚人节导入

你可能感兴趣的:(java,操作系统,macos,c++,windows)