Customize your Keyboard Mapping
This text is taken directly from www.annoyances.org/exec/forum/winxp/r1017256194 and copied here to preserve the information.
re: Question about 'Customize Your Keyboard Mapping'
Wednesday, March 27, 2002 at 11:09 am
Windows XP Annoyances Discussion Forum
Posted by Craig Leres (1 messages posted)
Here's how I disabled the caps lock on my IBM X22 Windows XP system. My solution was to map caps lock to left shift. As previously noted, this should also work for Windows NT and and Windows 2000.
Scan Code Mapper for Windows is documented here:
http://www.microsoft.com/hwdev/tech/input/w2kscan-map.asp
This page doesn't give the scan code for left shift; I found that here:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q59131
Here are the scan codes given on this page:
ctrl 0x1D
alt 0x38
left shift 0x2A
right shift 0x36
The map value is as follows:
00000000 header version (zero)
00000000 header flags (zero)
00000002 number of entries (including terminator)
003A002A map caps lock (0x3A) to left shift (0x2A)
00000000 null terminator map
If you want to just disable caps lock, map it to zero (0x00) instead of left shift (0x2A).
Converting these values to little endian you have:
00000000 00000000 0200000000 2A003A00 00000000
Now fire up regedit and go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
Create a REG_BINARY entry called Scancode Map with the value calculated above. After you enter the values, the "modify" window should look like this:
Value Name:
Scancode Map
Value data:
0000 00 00 00 00 00 00 00 00
0008 02 00 00 00 2A 00 3A 00
0010 00 00 00 00
Exit regedit, reboot and test.

