"windows Tips" Toggle keyboard keying through the registration list

Source: Internet
Author: User

Cause

Shortcut keys are very common both in Windows and OS X systems.

Commonly used shortcut keys are basically: ctrl/command+*

And the two keys on the keyboard corresponding to the location is different, command on the ALT key (with the Windows standard keyboard as the reference, the same below).

After a long period of use, the ALT key (Thumb press) is much more comfortable than the CTRL key (the little finger Press), so I want to change the key by changing the CTRL and ALT keys in the Windows Exchange.

Solve

Copy the following code on the Notepad and save it as Ctrl2alt.reg

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,03,00,00,00,38,00,1d,00,1d,00,38,00,00,00,00,00

Running files

Restart your computer

Just enjoy it.

Principle

"Scancode Map" =hex:00,00,00,00,00,00,00,00,03,00,00,00,38,00,1d,00,1d,00,38,00,00,00,00,00
Long string binary, for convenient analysis, split into every 8-bit line, and add line number, the result is as follows:
"Scancode Map" =hex:
00,00,00,00,
00,00,00,00,
03,00,00,00,
38,00,1d,00,
1d,00,38,00,
00,00,00,00

First two lines, fixed 8 x 0

Line 3rd, which indicates how many mappings have been changed, this example is 3, starting from line 4th, to the very last line (although strictly speaking, not counting),4, 5, 6 rows, just 3.

The 4th line, the front and back 4 digits, respectively represents two keys, the former mapping into the latter. In this example, the keys for 38, 00 are mapped to 1d,00. 38, 00 for the left ALT key, and 1d,00 for the left CTRL key.

Line 5th, in the same vein, left CTRL maps to left alt.

Last line, fixed 8 0.

If you need to add more mappings, you can add a format encoding such as 4, 5 rows before the last row, modify the number of mappings for the third row, and finally line up the rows.

Appendix

Escape on xxTab 0FxxCaps Lock 3 axxLeft Alt - xxLeft Ctrl 1DxxLeft Shift 2AxxLeft Windows 5B e0right Alt -e0right Ctrl 1D e0right Shift $ xxRight Windows 5C e0backspace 0ExxDelete -E0enter 1CxxSpace the xxInsert theE0home -e0end 4F e0num Lock $ xxPage DownWuyiE0page up theE0scroll Lock $ xx

Another, special value: 00 00, you need to disable a key when you want to map it to 00 00

"windows Tips" Toggle keyboard keying through the registration list

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.