disable caps and win-key win7
HowTo disable Caps-Lock and Windows-Key on Win7
You need to edit the registry-key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
The Format is described here: http://www.howtogeek.com/howto/windows-vista/disable-caps-lock-key-in-windows-vista/
00000000 00000000 02000000 00003A00 00000000
Here’s how it works:
The first 16 zeros are just there to waste space. The "02" in bold represents how many keys you are going to re-map plus 1. (It really represents the length of the data, but whatever)
The italic "0000" is the key we actually want Windows to map TO, which in this case is nothing, or 0.
The underlined “3A00″ is the key we are mapping from, in this case the caps lock key.
The next 8 zeros are there to waste space as the null terminator.
You can map between multiple keys by incrementing the "02" (to "03") and then adding another of the italic/underline blocks in the middle. The 3A00 in the mix is the scan code. For example, if you wanted to disable the caps lock key and then change scroll lock into a caps lock key:
00000000 00000000 03000000 00003A00 3A004600 00000000
scan codes win7
- alt left 38 00
- shift left 2a 00
- win left 5b e0
- win right 5c e0
- caps lock 3a 00 (or DE_de maybe also 3a 01)
- 2 entries -> data length 03
- map win left to alt left: 38 00 5b e0
- map caps lock to shift left: 2a 00 3a 00
00000000 00000000 03000000 38005be0 2a003a00 00000000