My new Win 8.1 system keyboard doesn't have a Ctrl-Break key, and I found that extremely annoying when working with Visual Basic. So with some research, I located some info on how to disable the Caps Lock key. In the registry locate the key, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
and add a binary value:
"Scancode Map" = 00 00 00 00 00 00 00 00 02 00 00 00 00 00 3a 00 00 00 00 00
The first 8 bytes are always zero.
The next 4 bytes are one more than the number of keys being mapped.
The next 2 bytes are the key code that you want to map to (in this case 00 00).
the next 2 bytes are the key code that you want to change (Caps Lock = 3A 00).
The last 4 bytes are always zero.
I decided to use the Ctrl-F12 key as a Ctrl-Break, and finding the key codes for those was a little more difficult.
"Scancode Map" = 00 00 00 00 00 00 00 00 02 00 00 00 46 e0 58 00 00 00 00 00
Reboot the system for the changes to take effect, and you have a new Ctrl-Break key.
J.A. Coutts
and add a binary value:
"Scancode Map" = 00 00 00 00 00 00 00 00 02 00 00 00 00 00 3a 00 00 00 00 00
The first 8 bytes are always zero.
The next 4 bytes are one more than the number of keys being mapped.
The next 2 bytes are the key code that you want to map to (in this case 00 00).
the next 2 bytes are the key code that you want to change (Caps Lock = 3A 00).
The last 4 bytes are always zero.
I decided to use the Ctrl-F12 key as a Ctrl-Break, and finding the key codes for those was a little more difficult.
"Scancode Map" = 00 00 00 00 00 00 00 00 02 00 00 00 46 e0 58 00 00 00 00 00
Reboot the system for the changes to take effect, and you have a new Ctrl-Break key.
J.A. Coutts