What's new

Function Keys

Hey kids,

Here's a simple string to add to registry to remap (at the very least) the F9-F12 keys; I haven't remapped the HOME-DEL keys to their respective functions. I miss my F2 and F3 keys...use 'em all the time in Winders, but my fave is F11 whilst debugging in VS.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,05,00,00,00,43,00,47,e0,57,00,49,e0,\
44,00,4f,e0,58,00,51,e0,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout\DosKeybCodes]
"00000409"="us"
"00001009"="us"
"00001809"="us"
"00040409"="usr"
"00000813"="be"
"00000c1a"="us"
"00000804"="ch"
"00000816"="po"
"00000c0c"="cf"
"00000807"="sg"
"00050408"="gk"
"00000809"="uk"
"00010c1a"="us"
"0000046e"="sf"
"0000041a"="yu"
"00010c0c"="cf"
"0000040a"="sp"
"0000041b"="sl"
"0000041C"="us"
"0000040b"="su"
"0000040c"="fr"
"0000041d"="sv"
"0000041f"="tr"
"0000040e"="hu"
"0000040f"="is"
"0001040a"="sp"
"0001041b"="sl"
"0001041f"="tr"
"0001040e"="hu"
"00001404"="ch"
"00000c04"="ch"
"00000452"="uk"
"00000442"="tk"
"00000410"="it"
"00000422"="us"
"00000411"="jp"
"00000412"="ko"
"00000423"="us"
"00000413"="nl"
"00000424"="yu"
"00000402"="bg"
"00000425"="et"
"00000414"="no"
"00000415"="pl"
"00000426"="us"
"00000404"="ch"
"00000405"="cz"
"00000427"="us"
"00000416"="br"
"00010410"="it"
"0000100c"="sf"
"00000406"="dk"
"00000418"="ro"
"00000407"="gr"
"00000408"="gk"
"00000419"="ru"
"00010402"="us"
"00010415"="pl"
"00010426"="us"
"00010405"="cz"
"0000080a"="la"
"00010418"="ro"
"00020422"="us"
"00010407"="gr"
"0000080c"="be"
"00010408"="gk"
"00010419"="ru"
"00020402"="bg"
"00010409"="dv"
"00020418"="ro"
"00020408"="gk"
"00030402"="bg"
"00020409"="us"
"00030409"="usl"
"00040402"="bg"
"00001004"="ch"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout\DosKeybIDs]
"00020408"="319"
"00000442"="440"
"00000410"="141"
"0001041f"="440"
"00010415"="214"
"00010410"="142"
"00010408"="220"
"0000041f"="179"
 
Scancode mapping might do the trick... But as you said, your list is incomplete. I've tried using some tools to generate the scancode maps, but they have a hard time with mapping the key combinations that happen when you press the charms keyboard shortcuts.

If you're willing to spend the money, then ATNSOFT Key Manger or ATNSOFT Key Remapper both do the trick. They are the only solution that I've actually got to work as of yet:
ATNSOFT Products

Sadly, so long as you're re-mapping the keys, you will end up changing the Fn + Arrow Keys to map to F9, F10, F11, and F12. If you want to keep the original Home/End/PgDn/PgUp keyboard shortcuts accessible from the arrow keys, the change will probably need to happen at the driver level, because the Type/Touch Cover doesn't appear to send the "Fn" key events to the OS at all: The drivers (or the hardware) deal with the Fn key entirely.

I've also heard that using AutoHotkey should work using these steps, but I haven't got it working yet myself: Mystery of the Fn key - A guide to remapping the Fn key in Windows

Also, as a side note, here's the key mappings:

Code:
Key/Key Combo       Maps To             Extended-Key
Mute                Mute                Yes
Volume Down         Volume Down         Yes
Volume Up           Volume Up           Yes
Play/Pause          Play/Pause          Yes
Search              LShift + LWin + F21 No
Share               LAlt + LWin + F21   No
Devices             LCtrl + LWin + F21  No
Settings            LWin + F21          No
Home                Home                Yes
End                 End                 Yes
PgUp                PgUp                Yes
PgDn                PgDn                Yes
Fn + Left Arrow     Home                Yes
Fn + Right Arrow    End                 Yes
Fn + Up Arrow       PgUp                Yes
Fn + Down Arrow     PgDn                Yes

Please let us know if anyone's able to do the mapping without spending $50 on one of the ATNSOFT programs...

EDIT: Actually, it looks like Key Manager is a little buggy. I seem to be loosing my charms key overrides. :(
 
Last edited:
Scancode mapping might do the trick... But as you said, your list is incomplete. I've tried using some tools to generate the scancode maps, but they have a hard time with mapping the key combinations that happen when you press the charms keyboard shortcuts.

If you're willing to spend the money, then ATNSOFT Key Manger or ATNSOFT Key Remapper both do the trick. They are the only solution that I've actually got to work as of yet:
ATNSOFT Products

Sadly, so long as you're re-mapping the keys, you will end up changing the Fn + Arrow Keys to map to F9, F10, F11, and F12. If you want to keep the original Home/End/PgDn/PgUp keyboard shortcuts accessible from the arrow keys, the change will probably need to happen at the driver level, because the Type/Touch Cover doesn't appear to send the "Fn" key events to the OS at all: The drivers (or the hardware) deal with the Fn key entirely.

I've also heard that using AutoHotkey should work using these steps, but I haven't got it working yet myself: Mystery of the Fn key - A guide to remapping the Fn key in Windows

Also, as a side note, here's the key mappings:

Code:
Key/Key Combo       Maps To             Extended-Key
Mute                Mute                Yes
Volume Down         Volume Down         Yes
Volume Up           Volume Up           Yes
Play/Pause          Play/Pause          Yes
Search              LShift + LWin + F21 No
Share               LAlt + LWin + F21   No
Devices             LCtrl + LWin + F21  No
Settings            LWin + F21          No
Home                Home                Yes
End                 End                 Yes
PgUp                PgUp                Yes
PgDn                PgDn                Yes
Fn + Left Arrow     Home                Yes
Fn + Right Arrow    End                 Yes
Fn + Up Arrow       PgUp                Yes
Fn + Down Arrow     PgDn                Yes

Please let us know if anyone's able to do the mapping without spending $50 on one of the ATNSOFT programs...

EDIT: Actually, it looks like Key Manager is a little buggy. I seem to be loosing my charms key overrides. :(

Actually, in looking at my key mappings... I don't think it's possible to properly map these things for this reason:

Say I was wanted to do Ctrl-F7: That means mapping LCtrl + LWin + F21 to F7, but I will loose my Ctrl modifier because LCtrl was already a part of the message sent by the "Devices" key. This means that it's flat out impossible to correctly re-map these keys! Aaarrg!

I donno, from what I can tell, a driver modification may be the only solution... Which either needs to come from someone willing to spend a lot of time making a custom driver or hacking some hidden configuration. Or MS releasing a configuration app like they did for the trackpad. D:
 
Hi guys! New to this forum but I've been searching high and low for a solution to my problem.

I know you are all looking for a way to reverse the function key, but just about a week ago, my function key got reversed on my surface pro and I have no idea how it happened. For example, if I press the mute key on my touch cover, it registers as an F1 and launches help, and to mute, I have to press fn+mute. I actually prefer having the keys work as per what is printed on them. It's especially annoying for me as I use home/end/pgup/pgdn a lot and I need to press the fn key for those to work. I'm not sure if the recent surface firmware update had anything to do with this but so far, I haven't found anyone else with the same problem as I have so I guess not.

Anyone else having my problem (though you may wish to have my "problem")? Is there something I can check on my surface which you guys could compare to for a fix?
 
Last edited:
Welcome yuejon. It is a shame you don't know what you did to enable that. There are many who would like to do the same and obviously you want to get back to default.
 
I believe, for the Surface Pro with the Type Keyboard, hold down the FN key; then press CAPS. This should allow you to toggle from Surface Keys to Function Keys.

I don’t know if this will work on the RT though...
 
I believe, for the Surface Pro with the Type Keyboard, hold down the FN key; then press CAPS. This should allow you to toggle from Surface Keys to Function Keys.

I don’t know if this will work on the RT though...

That did it! I can confirm FN+CAPS reverses the FN on a touch cover keyboard as well.

THANK YOU!
 
That did it! I can confirm FN+CAPS reverses the FN on a touch cover keyboard as well.

THANK YOU!

Glad I could be of assistance. I'm surprised, though, that it doesn't work on the RT... I would have thought these two devices would be more tightly related.
 

Latest posts

Back
Top