![如何将键盘上未使用的特殊键分配给宏?](https://linux22.com/image/1502966/%E5%A6%82%E4%BD%95%E5%B0%86%E9%94%AE%E7%9B%98%E4%B8%8A%E6%9C%AA%E4%BD%BF%E7%94%A8%E7%9A%84%E7%89%B9%E6%AE%8A%E9%94%AE%E5%88%86%E9%85%8D%E7%BB%99%E5%AE%8F%EF%BC%9F.png)
答案1
有许多实用程序可以满足您的要求。我推荐 AutoHotkey。大多数额外的键都有记录在案的功能,可以重新映射。对于其余的,您可能需要做一些工作来找到生成的键码,然后您可以根据需要映射它们。
以下是我安装的 AutoHotKey 副本上已知特殊键的列表,
Browser_Back Back
Browser_Forward Forward
Browser_Refresh Refresh
Browser_Stop Stop
Browser_Search Search
Browser_Favorites Favorites
Browser_Home Homepage
Volume_Mute Mute the volume
Volume_Down Lower the volume
Volume_Up Increase the volume
Media_Next Next Track
Media_Prev Previous Track
Media_Stop Stop
Media_Play_Pause Play/Pause
Launch_Mail Launch default e-mail program
Launch_Media Launch default media player
Launch_App1 Launch My Computer
Launch_App2 Launch Calculator
其余的,您可以使用脚本文件中的命令#UseHook on
就可以查看按下特殊按钮生成的键码。
https://autohotkey.com/board/topic/64875-mapping-special-keys/了解相关讨论和信息。更多内容请见此处,https://autohotkey.com/board/topic/64503-make-the-fn-key-usable/