Annoyances.org
Home » Windows 2000 Discussion Forum » Message 1018043899 Search | Help | Home
  
re: Question about 'Customize Your Keyboard Mapping'
Friday, April 5, 2002 at 1:58 pm
Windows 2000 Annoyances Discussion Forum
Posted by John Hendrickx (3 messages posted)


The following works in XP, should work in win2k as well:

----------------------------------------------------------
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,05,00,00,00,1D,00,38,00,38,00,1D,00,1D,E0,38,E0,38,E0,1D,E0,00,00,00,00
----------------------------------------------------------

Copy this to a text file and save it as "swapkeys.reg". 
Doubleclick to open it and confirm that you want to 
insert the contents in your registry. 
Reboot, and your Ctrl and Alt keys will be swapped.

The idea is to create a "Scancode Map" key in 
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout". 
This should contain a series of hex codes on which keys to exchange 
(boy, do I ever miss the key remap program in the Win95 kernel toys. 
Or even Xmodmap under Unix!).

Details of how this works can be found at

http://www.pcworld.com/howto/article/0,aid,65157,pg,3,00.asp

and

http://www.microsoft.com/hwdev/tech/input/w2kscan-map.asp

The above article notes the shortcomings of this method: 
it applies to all users and all keyboards and requires rebooting. 
I'd appreciate information on a more elegant freeware or shareware solution.

A caveat with regard to the above registry hack: it swaps Ctrl and Alt, 
but the distinction between right and left Ctrl and Alt is lost 
(specifically, the lefthand Ctrl and Alt are recognized as 
the righthand Crlt and Alt). 
Usually no problem except perhaps for some games. 
Suggestions are of course welcome.

Hope this helps,
John Hendrickx
(formerly Mad Mackx)




On Tuesday, April 2, 2002 at 1:59 pm, mister B wrote: >neat, but is there anything that works in win2k that swaps the ctrl and alt keys? >I am a long-time Mac user and am constantly hitting alt which is where the cmd key >is on a Mac. plus the ctrl key is in a really awkward position. whose idea was that? >dumb... >



Written in response to:
re: Question about 'Customize Your Keyboard Mapping' (mister B: Tuesday, April 2, 2002 at 1:59 pm)

Responses to this message:
*re: Question about 'Customize Your Keyboard Mapping' (Johann Kok: Wednesday, January 21, 2004 at 11:02 pm)
*re: Question about 'Customize Your Keyboard Mapping' (Stephen Ferris: Saturday, July 3, 2004 at 3:28 pm)

All messages in this thread [show all]
-Question about 'Customize Your Keyboard Mapping' (Ken Collins: Tue, Aug 21, 2001, 5:17 am)
-re: Question about 'Customize Your Keyboard Mapping' (Toby Gibson: Sun, Oct 14, 2001, 1:42 pm)
-re: Question about 'Customize Your Keyboard Mapping' (Ken Collins: Sun, Oct 14, 2001, 2:01 pm)
*re: Question about 'Customize Your Keyboard Mapping' (Jacek: Wed, Jan 9, 2002, 9:17 am)
*re: Question about 'Customize Your Keyboard Mapping' (Andy: Mon, Jan 20, 2003, 4:41 pm)
*re: Question about 'Customize Your Keyboard Mapping' (stan: Mon, Nov 5, 2001, 6:05 am)
-re: Question about 'Customize Your Keyboard Mapping' (Ray Duncan: Mon, Jan 21, 2002, 5:52 am)
-re: Question about 'Customize Your Keyboard Mapping' (MikeK: Wed, Jan 23, 2002, 10:36 am)
*Disabling CapsLock, F1, Insert (Addie MacGruer: Mon, Aug 18, 2003, 8:41 am)
-re: Question about 'Customize Your Keyboard Mapping' (Jimi W: Sat, Feb 9, 2002, 4:30 am)
-re: Question about 'Customize Your Keyboard Mapping' (Ray Duncan: Sat, Feb 9, 2002, 5:57 am)
*re: Question about 'Customize Your Keyboard Mapping' (Peter Forret: Wed, Nov 5, 2003, 3:19 pm)
*re: Question about 'Customize Your Keyboard Mapping' (Jodi: Thu, Feb 2, 2006, 2:31 am)
-re: Question about 'Customize Your Keyboard Mapping' (Richard Gillmann: Fri, Feb 8, 2002, 1:03 am)
-re: Question about 'Customize Your Keyboard Mapping' (mister B: Tue, Apr 2, 2002, 1:59 pm)
-re: Question about 'Customize Your Keyboard Mapping' (John Hendrickx: Fri, Apr 5, 2002, 1:58 pm)
*re: Question about 'Customize Your Keyboard Mapping' (Johann Kok: Wed, Jan 21, 2004, 11:02 pm)
*re: Question about 'Customize Your Keyboard Mapping' (Stephen Ferris: Sat, Jul 3, 2004, 3:28 pm)
*re: Question about 'Customize Your Keyboard Mapping' (David DeSimone: Fri, Aug 16, 2002, 10:53 am)
-re: Question about 'Customize Your Keyboard Mapping' (owen: Sun, Mar 23, 2003, 2:54 pm)
*re: Question about 'Customize Your Keyboard Mapping' (Rolf: Wed, Nov 26, 2003, 10:14 am)
*re: Question about 'Customize Your Keyboard Mapping' (Johan: Mon, Nov 15, 2004, 11:23 am)
*re: Question about 'Customize Your Keyboard Mapping' (brudermarkus: Tue, Jan 24, 2006, 3:32 am)
Return to the Windows 2000 Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.