📜 ⬆️ ⬇️

Returning the efficiency of switching layouts through the right Alt + Shift without the use of extraneous programs

As you know, after one of the updates in Windows 7, the ability to switch the layout from Russian to English by pressing the RAlt + Shift combination has disappeared. The situation is complicated by the fact that in the opposite direction both altos still work, which is why some (for example, I) did not understand for a very long time why the layout sometimes stops switching.

Perhaps the situation can fix the Punto Switcher. Perhaps there are 20 more programs that can be used by a person who is used to switching the layout only with his right hand, and who does not want to relearn at the behest of Microsoft. But to put on each computer, home, work, as well as all the familiar, a new program is not the most convenient way.

Therefore, I decided to share a solution using only the registry, since I could not find a similar one on the Internet.

The solution I propose is simple - remap the right viola to the left. Now windows will think that there are two left altos on the keyboard - and no right one. This can be done using the Scancode Map value in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout key
')
There is one difficulty: the format is binary, and only a person who has absolutely nothing to do can do without an editor. For editing, I took the program SharpKeys . But, since I promised that the solution will use only the registry without extraneous programs, I will share the result of the work of this program now.

Decision.


Here is a solution for simply replacing the right alto with the left. I will not write what is written below, because this post is not a tutorial on working with the registry.
 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,02,00,00,00,38,00,38,e0,00,00,00,00 

There is one drawback to this solution: before, the right alt worked as an AltGr modifier, and someone could use it. If you used AltGr for its intended purpose quite rarely - then you can press Alt + Control to achieve the same goal. But if you want AltGr with one button, then you need to find some other unnecessary button that you can sacrifice. Here I offer two more options.

Option two is to make the left alto work as the right one (yes, it will break the layout switch with the left hand).
 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,e0,38,00,38,00,38,e0,00,00,00,00 

Option three is to make the right WinKey work like a right alt.
 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,e0,5c,e0,38,00,38,e0,00,00,00,00 

Source: https://habr.com/ru/post/233665/


All Articles