Windows series systems modify the default corresponding key values of the keyboard (modify the positions of ctrl and fn to solve the problem of damage to important keyboard keys)

1. Problems occur

1. The Microsoft keyboard that comes with Surface is broken, so I temporarily used a Bluetooth keyboard. The design of this keyboard is very uncomfortable, similar to Lenovo's combination ofFn key and Ctrol key. Key design, the Fn key is in the far left corner of the keyboard! ! ! Fn appears as soon as you press ctrol and add the shortcut key. . . Finally, I don’t know why both the CTRL and V keys are broken. There is only one CTRL key. . .
Insert image description here

2. Solution, change the system default key value correspondence

I remember that the hardware and interface course talked about the principle of the keyboard. Search on Baidu and you will find that win can be modified in the system registry. There are two Apple command keys on both sides of the keyboard. One is changed to CTRL and the other is changed to V.

3. Method steps

1. Win+r run the window and enter regedit to open the registry.

Insert image description here
2. Find the directoryHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout (Do not open the folder inside) and create a new one in this directory The binary registry is namedScancode Map

Insert image description here

3. Modify the corresponding mapping key-value pair file
Insert image description here

Map"=hex:
00,00,00,00,  00,00,00,00,  //固定格式
03,00,00,00,  //03表示后面还有2个映射)
A1,00,5B,00,  //把键盘上的原本5B,00这个按键映射到A1,00这个按键上
56,00,5C,00,  //把键盘上的原本5C,00这个按键映射到56,00这个按键上
00,00,00,00   //固定格式

4. After saving, restart the system and refresh the registry. The changes will take effect.

(2) Download Microsoft PowerTOys development tools for modification

Insert image description here

Insert image description here

4. Possible problems

  1. After modifying the key-value pair, you need to restart the system to take effect! ! !
  2. The key-value pairs corresponding to different keyboards have different settings. How to find the correct key-value pair correspondence? From the website or check the system keyboard response log, it is recommended to check the key values ​​on the websitePortal
  3. Key-value tableAdd link description
  4. Delete the newly created registry by default to invalidate the modifications.
    Insert image description here

Guess you like

Origin blog.csdn.net/huangdxian/article/details/121300374