Question
I know there is a method in windows to ban the WIN key(To edit the register), and when I hit the WIN key, nothing happens. However, can I use the key for key-bindings?
Answer
You can use a utility to rebind keys to other keys, or manually hack your registry to do so. Here's the source MSKB article that they used.
For instance, the following registry key will swap F11 and LWIN:
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,03,00,00,00,57,00,5b,e0,5b,e0,57,00,\
00,00,00,00
Broken down:
00,00,00,00,: Version (0)00,00,00,00,: Flags (0)03,00,00,00,: Number of entries, including trailing null (3)57,00,5b,e0,: The left Windows Key (E0 5B, it's backwards) is interpreted as an F11 (00 57)5b,e0,57,00,: F11 (00 57) is interpreted as the left Windows Key (E0 5B)00,00,00,00: Null ("we're done")
After modifying your registry, you must relog (or restart) in order for the changes to take effect.
What scancode is what key? See this WHDC article, specifically the Word document in it. Use the values from the "scan 1 make" column. Alternatively, some "keyboard test" utilities will tell you.
Once you've remapped keys in windows, you can bind them as you see fit.
Check more discussion of this question.
No comments:
Post a Comment