您可能想要在Windows 10(Windows 10—the)上重新映射按键的原因有几个-布局可能感觉错误或按键可能损坏。不幸的是,Windows不允许您直接重新映射键。您可以通过自己更改注册表(我们不建议这样做)或使用第三方软件来映射它们。
在 Windows 上使用的最简单的键盘映射软件之一是SharpKeys。这个免费的开源软件允许您将一个或多个键映射到另一个键,尽管它只支持键盘键,因为不支持鼠标或触摸板键。以下是如何使用SharpKeys在(SharpKeys)Windows 10上重新映射键。
在 Windows 10 上安装 SharpKeys(Installing SharpKeys on Windows 10)
SharpKeys GitHub存储库上提供了SharpKeys的Windows安装程序文件,您可以下载便携式版本以在闪存驱动器上使用以随身携带SharpKeys安装。SharpKeys是开源的,因此您可以选择下载源代码并自行编译,如果您愿意的话。
- 要在Windows 10(Windows 10)上重新映射您的密钥,请从SharpKeys GitHub存储库的发布部分下载并安装最新版本的 SharpKeys(latest version of SharpKeys)。安装程序文件被列为MSI 安装程序文件(MSI installer file),或者您可以下载并解压缩便携式 ZIP 版本(portable ZIP version)。
- 安装SharpKeys后,从(SharpKeys)Windows 开始(Windows Start)菜单打开它,或从提取的文件夹中运行可执行文件以获取便携式版本。SharpKeys会警告您使用它会修改注册表,向其中添加一个键以重新映射您的键。按OK接受警告并允许SharpKeys执行此操作。
一旦警告被接受,主SharpKeys窗口将打开。(SharpKeys)
使用 SharpKeys 在 Windows 10 上重新映射键(Remap Keys on Windows 10 Using SharpKeys)
安装SharpKeys后(SharpKeys),您可以使用它开始重新映射键盘按键。但是,在开始之前,您应该检查您的键盘区域设置是否适合您所在的位置。例如,当键盘上的at 符号键和引号键(at sign keys and quote keys)被交换时,这可能会解决问题。
您可以通过右键单击Windows 开始(Windows Start)菜单并单击设置来检查这一点。(Settings. )在此处,单击Time & Language > Language并检查首选语言(Preferred Languages)部分下列出的语言环境。
如果您的区域设置正确并且您仍需要重新映射其他键,则可以开始使用SharpKeys软件。
- 要开始重新映射SharpKeys中的键,请单击SharpKeys主窗口中的添加(Add)按钮。
- 在“添加新键映射”(Add New Key Mapping)窗口中,您可以选择要映射的键。您将左侧列表中的键选择映射到右侧列表中列出的物理键。您可以滚动浏览并手动选择它们,或单击每个部分下的类型键(Type Key)按钮以自动找到它们。完成键映射后按确定。(OK)
- 您可以重复上述步骤来映射多个键。要编辑您所做的任何选择,请从SharpKeys主菜单的列表中选择它们,然后按编辑(Edit)按钮。
- 选择一个项目并按Delete按钮以从您的(Delete)SharpKeys列表中删除该特定键映射。要一次删除所有键映射,请改为按Delete All按钮。(Delete All)
- 您使用SharpKeys(SharpKeys)创建、编辑或删除的键映射在您将它们写入注册表之前不会应用。为此,请按SharpKeys主窗口中的写入注册表(Write to Registry)按钮。
将您的 SharpKeys 配置导出到其他 PC(Exporting Your SharpKeys Configuration to Other PCs)
如果您想在多个设备上使用重新映射的密钥,您可能希望将您的SharpKey设置导出到其他Windows 10 PC。(Windows 10)您可能还想在使用 SharpKeys 在 PC 上重置和重新安装 Windows(reset and reinstall Windows)之前执行此操作。
- 您需要先导出 SharpKeys(SharpKeys)配置。打开SharpKeys并单击主窗口中的Save Keys按钮开始。
- 在Save SharpKeys Key List窗口中,选择一个合适的位置来保存您的SharpKeys配置文件。给它起一个好记的名字,然后按保存(Save)保存文件。
- 将SharpKeys配置文件(SKL文件格式)传输到另一台安装了SharpKeys的(SharpKeys)Windows PC 。在该 PC 上打开SharpKeys,然后按主窗口中的Load Keys按钮。
- 在Open SharpKeys Key List(Open SharpKeys Key List)窗口中找到您的SharpKeys配置文件并选择它。按Open加载配置文件并将新密钥添加到SharpKeys。
- 导出的配置将被导入到SharpKeys中,键列表会更新以显示新的键映射。按写入注册表(Write to Registry )按钮将此更新的列表写入注册表。
在 Windows 10 中使用键盘(Using Your Keyboard With Windows 10)
如果您在Windows 10上重新映射按键,您可以绕过损坏的按键或糟糕的布局,但这并不是您可以更有效地使用键盘的唯一方法。一种方法是尝试使用键盘快捷键(using keyboard shortcuts),减少对 PC 鼠标或触控板的依赖。
当然,这取决于您是否有一个可以正常工作的键盘。重新映射按键是一种选择,但如果您将饮料洒在多个按键上,您可能需要寻找更激进的方法来修复水损坏的键盘。(fix a water damaged keyboard)如果您有自己的键盘维修技巧要分享,请将它们留在下面的评论中。
How to Remap Keys on Windows 10
Thеrе are a couple of rеasons why you might wаnt to remap keys on Windows 10—the layout might feel wrong or the keys might be broken. Unfortunatelу, Windows doesn’t аllow you to remap keys directlу. You can map them by altering the registry yourself, which we wouldn’t recommend, or by using third-рarty software.
One of the easiest keymapping software to use on Windows is SharpKeys. This free and open-source software allows you to map one or multiple keys to another key, although it only supports keyboard keys as mouse or touchpad keys aren’t supported. Here’s how to remap keys on Windows 10 using SharpKeys.
Installing SharpKeys on Windows 10
A Windows installer file for SharpKeys is available on the SharpKeys GitHub repository, as is a portable version you can download to use on flash storage drives to take your SharpKeys installation with you. SharpKeys is open source, so you can choose to download the source code and compile it yourself if that’s your preference.
- To remap your keys on Windows 10, download and install the latest version of SharpKeys from the releases section of the SharpKeys GitHub repository. The installer file is listed as an MSI installer file, or you can download and extract a portable ZIP version.
- Once SharpKeys is installed, open it from your Windows Start menu or run the executable file from the extracted folder for the portable version. SharpKeys will warn you that using it will modify the registry, adding a single key to it to remap your keys. Press OK to accept the warning and allow SharpKeys to do this.
The main SharpKeys window will open once the warning has been accepted.
Remap Keys on Windows 10 Using SharpKeys
Once SharpKeys is installed, you can use it to begin remapping your keyboard keys. Before you start, however, you should check whether your keyboard locale is correctly set for your location. This might resolve issues when the at sign keys and quote keys on your keyboard are swapped over, for instance.
You can check this by right-clicking the Windows Start menu and clicking Settings. From here, click Time & Language > Language and check the locale listed under the Preferred Languages section.
If your locale is correct and you still need to remap other keys, you can start using the SharpKeys software.
- To begin remapping keys in SharpKeys, click the Add button in the main SharpKeys window.
- In the Add New Key Mapping window, you can select which keys you want to map. You map the key choices from the left-hand list to the physical keys listed in the right-hand list. You can scroll through and select these manually, or click the Type Key button under each section to find them automatically. Press OK when you’ve completed your key mapping.
- You can repeat the above step to map multiple keys. To edit any of the choices you’ve made, select them from the list in the SharpKeys main menu, then press the Edit button.
- Select an item and press the Delete button to remove that particular key mapping from your SharpKeys list. To remove all your key mappings at once, press the Delete All button instead.
- The key mappings you create, edit, or delete using SharpKeys won’t apply until you write them to the registry. To do that, press the Write to Registry button in the main SharpKeys window.
Exporting Your SharpKeys Configuration to Other PCs
You may wish to export your SharpKey settings to other Windows 10 PCs if you want to use your remapped keys on multiple devices. You might want to do this before you reset and reinstall Windows on a PC using SharpKeys, too.
- You’ll need to export your SharpKeys configuration first. Open SharpKeys and click the Save Keys button in the main window to begin.
- In the Save SharpKeys Key List window, select a suitable location to save your SharpKeys configuration file. Give it a memorable name, then press Save to save the file.
- Transfer the SharpKeys configuration file (in the SKL file format) to another Windows PC with SharpKeys installed. Open SharpKeys on that PC, then press the Load Keys button in the main window.
- Locate your SharpKeys configuration file in the Open SharpKeys Key List window and select it. Press Open to load the configuration file and add the new keys to SharpKeys.
- The exported configuration will be imported into SharpKeys, with the key list updating to show the new key mappings. Press the Write to Registry button to write this updated list to the registry.
Using Your Keyboard With Windows 10
If you remap keys on Windows 10, you can bypass broken keys or a poor layout, but that isn’t the only way you can use your keyboard more effectively. One method is to try using keyboard shortcuts, reducing your reliance on your PC mouse or trackpad.
That depends, of course, on whether you have a fully working keyboard. Remapping keys is one option, but you may need to look at more drastic ways to fix a water damaged keyboard if you’ve spilled a drink over multiple keys. If you have your own keyboard repair tips to share, please leave them in the comments below.