Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改键盘按键映射 #252

Open
forever-z-133 opened this issue Mar 4, 2025 · 0 comments
Open

修改键盘按键映射 #252

forever-z-133 opened this issue Mar 4, 2025 · 0 comments

Comments

@forever-z-133
Copy link
Owner

forever-z-133 commented Mar 4, 2025

mac

打开“系统偏好设置”,搜索修饰键,即可对 Left Ctrl 等主要辅助键进行更换

win

使用册表修改,新建文本,输入如下内容,然后保存后重命名为 .reg 文件,双击启动,再重启电脑
https://blog.csdn.net/weixin_43131046/article/details/120332051

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,01,00,00,00,0F,00,39,00,00,00,00,00

其中,值的定义规则如下:

00,00,00,00,
00,00,00,00,
01,00,00,00, // 下面1行为操作
0F,00,39,00, // 0F 00 为 tab 键,39 00 为空格键
00,00,00,00

若想删除映射,输入如下内容,重复注册。

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant