How to make the key 'WIN' used for key bindings? [closed]
Solution 1:
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.
Solution 2:
I would recommend using AutoHotkey — no registry hacking required.