9
2
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
BTW, FYI: on very few keyboards (other than Apple's) does the Fn/function key produce any scancode. Instead, when it is pressed in combination with certain other keys a certain, unique scancode is sent as if that other key was pressed alone instead of two keys. the pause key is the one key whose scancode can not be changed in the windows registry. – AuralArch – 2019-06-10T19:32:28.863
Does this Microsoft link help you further?
– nixda – 2013-02-13T18:03:11.920@nixda I've seen that but it does not provide the actual scan codes to use (as best I can tell) – enderland – 2013-02-13T18:08:47.857
Mind that in my Windows 7 64 bit Pro, [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] is empty, no Scancode key there. – None – 2013-11-16T13:08:49.997