Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am in the process of remapping some keys on my Windows 7 keyboard.

I have done the following (in a .reg file):

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 

I am interested in being able to remap other keys. However, I am having a heck of a time finding the specific scan codes to do this.

Is there a listing of these scan codes somewhere? I've spent a fair bit of time trying to find information and other than the caps/control I cannot seem to find them. I would like a listing of all scan codes - in a format which makes sense for remapping.

The specific keys I am interested in are:

  • Menu button (wtf windows)
  • windows key
  • alt
  • shift
  • function
  • insert
  • pause
share|improve this question
    
Does this Microsoft link help you further? – nixda Feb 13 '13 at 18:03
    
@nixda I've seen that but it does not provide the actual scan codes to use (as best I can tell) – enderland Feb 13 '13 at 18:08
    
Mind that in my Windows 7 64 bit Pro, [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] is empty, no Scancode key there. – user274594 Nov 16 '13 at 13:08

If you want to do it the easy way, you can simply use SharpKeys, KeyTweak or similar utilities.

If you're simply after scancodes, the same programs should be able to help:

1

2
3

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .