I used to use swapped Ctrl and Caps for editing files in Emacs under Windows XP, so I have Ctrl function bind to Caps. Now I've got a new machine, and old traveled to another man, who wants to have native bindings (Caps on Caps and Ctrl on Ctrl). Is there a way to swap them back?
feedback
|
migrated from stackoverflow.com Apr 12 '11 at 22:18
This question came from our site for professional and enthusiast programmers.
|
The easy answer is, run regedit, navigate to the following registry directory: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout and delete the Scancode Map, which, if all you've done is flip the Ctrl-L and Caps-Lock keys, should have the following value: 00000000 00000000 03000000 3A001D00 1D003A00 00000000 CAUTION: deleting the scancode map will also delete any other key mappings you've created. For a better understanding of how the Scancode Map works, consult MSDN's article on its scan code mapper: http://msdn.microsoft.com/en-us/windows/hardware/gg463447.aspx | |||
|
feedback
|
|
A safe way to remap your keys is to use a program like KeyTweak. It does the registry work for you. | |||
|
feedback
|