Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

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?

share|improve this question
1  
What about the FAIL key? –  Alex Jan 4 '12 at 21:39
    
I stumbled upon this and now that I look at the timestamp I realize I'm incredibly late to the party but...what on earth does this have to do with gaming? –  Shinrai Mar 2 '12 at 23:32

2 Answers 2

up vote 5 down vote accepted

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.

share|improve this answer

I would recommend using AutoHotkey — no registry hacking required.

share|improve this answer
    
+1 for a good application I used a lot on PC (now on a Mac and miss its simplicity) –  LudoMC Jan 22 '11 at 20:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.