SharpKeys 3.6

SharpKeys is a Registry hack that is used to make certain keys on a keyboard act like other keys. For example, if you accidentally hit Caps Lock often, you could use this utility to map Caps Lock to a Shift key or even turn it off completely. This official release includes support for up to 104 mappings, an extensive list of available keys, and a “Type Key” option to help when managing mappings. As it relies on internal support within Windows NT, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows 8, or Windows 10 you must be running one of these OS’s for this Registry hack to work.

With the move to version 3.6, I’ve recompiled the most recent code that has been posted to the GitHub project. It includes some bug fixes and a couple of text changes; I encourage anyone interested in working on the code to visit http://www.github.com/randyrants/sharpkeys for more project changes.

Download SharpKeys 3.6: MSI | ZIP | requires .NET Framework 4.0

52 thoughts on “SharpKeys 3.6”

    1. Terry
      Not sure where else to post this…

      Use SharpKeys to remap common keys for Win 7. Great hack. ;-)

      Bought a UNICOMP Model M knock-off with German keyboard layout. Tried to remap the ALT_GR (RIGHT_ALT) key using the ‘Type Key’ option but Sharpkeys complained it does not understand this key. Turns out the number assigned by Unicomp to ALT_GR is E038 while the correct number is E0_38. Looked at the menu of available keys in Sharpkeys and found RIGHT_ALT is E0_38. So I selected this from the list and now have the RIGHT_WIN key remapped as desired.
      (Why would I want to do this ? The Unicomp keyboard has a slightly different physical layout for the keys on the right hand side of the space bar. I was so used to finding the ALR_GR as the first key to the right of the space bar, I wanted to swap the RIGHT_WIN and ALT_GR keys.)

      In the process, I found a blog entry that mentioned ‘reverse tilt’ for a keyboard. Tried it and it is great (even if I am not a pure touch typist.)

      Terry

  1. Hi
    I tried to install Sharpkeys but Windows Smartscreen blocked it. Generally I have a problem with national characters on my keyboard.
    I am prom Poland and we use Polish Programmers default windows layout. In this layout when the combination of alt gr + letter is used – we get our national characters.
    Suddenly yesterday this stopped to work for for letters a and s – but still works for other letters. Also it does not look like hot key assigment as nothing happens after using this combination out of applications.

    Nothing new was installed on the device prior to this problem. Mstf t update 1709 is not installed.

    Will your sharpkeys help to locate the problem?

    Rgds

    Peter

    Can your

    1. Not much I can do for Smartscreen – I haven’t had that happen on Edge so I’m not sure what’s going on. That said, SharpKeys won’t be able to help with anything that involves a modifier key like Alt, AltGr, or Ctrl – it only remaps whole keys. You might want to investigate AutoHotKeys or some other active keyboard mappers. Or you might want to confirm that the correct keyboard layout was selected after you updated Windows.

  2. It is sad. It can’t remap a mouse click. I have a broken mouse. While I clicked middle button, it response as I clicked all middle-left, middle and middle-right click. I want to prevent that but I can’t.

    1. No, I wouldn’t be interested in doing that. Given that Windows 10 has a whole collection of keyboard layouts available to it, I would leave it to that.

  3. I bough a $12 keyboard with a goofy PLUM layout on ebay, moved the keycaps around and used your software to remap the keys. Really worked a treat, thanks for all your hard work!

  4. SharpKeys allows me to use Windows with BootCamp on my MacBook Pro and I love the hell out of it. Since I have to reinstall Windows 10, can you kindly tell me if there is a reghistry entry I can save down and just install with the new Windows install so I don’t have to go through the mapping process over again? I use a screen reader and doing the mapping manually is a bit tedious. Thanks for any ideas. — Don Barrett

    1. Here is the registry value you want.
      Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout\Scancode Map

  5. Just wanted to say thanks. The Surface Pro 4 type cover doesn’t come with a right CTRL key, so I remapped the list button for it instead. Small change; big help. Much appreciated!

  6. Hello!
    I just discovered your software, and I am wondering if it’s able to do the following:

    1. In the upper left corner of my keyboard, right below the ESC key, there is a key called §, and the same key can also type ½ if pressed while holding SHIFT. I want to somehow customize this key, so while holding the FN key and pressing the key, the vertical bar symbol | will be typed. Can SharpKeys do this, and if so, how? Sorry, I’m not very good with computers.

    2. I also want to add to two other keys on my keyboard, and I want these symbols accessed (typed) when pushing the said keys while holding down ALT GR. Can SharpKeys do this? Is there ANY way to do it??

    Any help appreciated!

    1. Edit: Under section “2”, what I meant to say was I want to add “left backet” and “right bracket” (somehow the bracket symbols were automatically removed when I posted the comment). I want to add left bracket to one of the letter keys on my keyboard, and the right bracket to another letter key on my keyboard. Then I want the brackets to be accessed/typed while holding down the ALT GR key. Can this be done with SharpKeys, and if so, how?

      1. It cannot. Only whole keys are remapped: modified keys (trying to remap SHIFT+3 as an example) is not supported by Windows, which is what does the remapping. You can check something more active like AutoHotKeys.

  7. Wanted to remap my Project key (as in which monitor to project to) on my Lenovo Yoga 920). (This is the same key as the F10 key, but without the Fn key pressed.) When I captured the keystroke it reported, “Special: Left Windows (E0_5B)”, followed by a message, “You’ve entered a key that SharpKeys doesn’t know about.” Since I just installed the latest version, I thought I would report this to you to perhaps be included in the next one. It would be awesome to have this available.

    1. Likely a key that is getting intercepted by either hardware or keyboard driver which prevent Windows from getting the keystroke so it can’t remap it.

  8. I have a DELL XPS13 laptop where the numpad “overlay” on the normal keys does not support the alt Numeric keys on numpad procedure, eg Alt 0149 is a bullet. Would your software be able to fix this

    1. More than likely not: the Registry key that this exposes is about remapping entire keys rather than trying to handle modified keys.

  9. Dear Randy,

    Thanks for this opensource project. I recently purchased a Wesopro T6 Airmouse. I quickly discovered that not all keys are working. So i started to write my own keymapper but quickly found an already complete sourcecode, great! :-)

    However it turns out that the keys i want to remap or not yet supported by you software. Therefore i would like to know how to add this to your list?
    I debugged the nCode and this are the results:
    16777217 = Homekey – not recognized- Now opens Edge. More info {msg=0x100 (WM_KEYDOWN) hwnd=0xb0092 wparam=0xac lparam=0x1000001 result=0x0}
    23920641 = 4 lined icon, left form homekey – Recognized as E0_6D. More info {msg=0x100 (WM_KEYDOWN) hwnd=0xb0092 wparam=0xb5 lparam=0x16d0001 result=0x0}
    16777217 = Go back arrow icon, right from homekey – not reconized. More info {msg=0x100 (WM_KEYDOWN) hwnd=0xb0092 wparam=0xa6 lparam=0x1000001 result=0x0}

    There are also other, standard multimedia, keys that are not triggered by your keyboardhook. Keys like next and previous arrow and volume up/down

    Awaiting your reply.

    1. Hi – these are not the scan code values that the Registry key uses to remap keys and even so, there are no standard scan codes for multimedia keys. Some of these media keys get trapped by a keyboard drive or – as is often the case with volume – by the hardware itself. The information you’ve captured is definite the message that Win32 is passing around but the Registry key lives in a higher Ring which is not a one to one mapping. If you want to talk to other devs working on the app, please visit GitHub.

    1. Not likely since the F-Lock functionality is often hardware-based. You might want to check your BIOS settings or driver settings on your laptop.

  10. Hey Randy, thank you for writing this simple to use program. I used to go into the registry and do this on my own but Win 10 made it difficult to do this so your program solved that issue!! I was wondering, I have always remapped my keyboard to make the Right Ctrl to be the Delete key. Most of my life has been spent on laptop keyboards and the tiny delete key next to the other small keys was a hassle. I would like to keep the default Del key mapped and add the Right Ctrl at the same time. Is that possible? I have tried a few times and seems like it’s a direct swap and not an additional key.

    1. I’m not sure I follow. If you remap the Del key to the Right Ctrl key, the Del key will still keep it’s functionality. I often make the Right Ctrl key act like Left Windows and the Left Windows key still works fine.

      1. Thanks Randy. On my Bluetooth keyboard from Dell that is not working. The remapping takes away the functionality of the original Delete key and reassigns it to the Right Ctrl key. I will remove the mapping, reboot and try again and let you know. But still, THANKS. This has worked on every other keyboard I’ve ever used.

        Marty B.

        1. And an update….. I tried again to remap the Del Key to the Right Ctrl and again no luck. I can change the mapping but I cannot have the 2 keys perform the Del function simultaneously. Oh well, this has worked on every other machine I’ve used it on. I guess this particular Del BT has a mind of its own.

          Thanks Randy!!

          1. And Finally!!! I guess I am rusty at Sharp Keys, I was mapping the Right Ctrl TO the Del Key and not vice versa. But it’s fixed now and working perfectly!!

  11. hi and thx for this nice program

    I’d like to remap the ‘@’ key to a different combination of keys, like ctrl + A or in place of Caps Lock. I can do it in Microsoft Office but not in all my programs. Does your software allow to do that and if not is there some that does?

    1. Nope: there’s no @ key, at least not on a US keyboard – only Shift+2 – and Windows only remaps the whole key at a time. AutoHotKeys, which is a more active tool, may be able to help.

  12. Hello randy,

    Thanks for making this tool. I’m using the apple wireless keyboard (first gen, with the AA battery one) on windows 7. I’m now able to remap the right command key (originally acts as right windows key) to the “delete” function. However, SharpKeys doesn’t recognize the “eject” and fn button on the keyboard, and i wonder if it is on a hardware based level or what? Anyway, I’m more than happy to finally able to map F7 ~ F12 keys to work as the media control keys on a regular mac. Really appreciate the tools.

    1. Not really because it sounds like Windows isn’t getting the scancodes from these keys so it has no way to remap them. Might want to try AutoHotKeys which is a more active key remapper.

  13. Hi, It is not working for external keyboard in laptop. When I remapped “escape” key “1” key. Then I press “1” in my laptop and then it properly work. When I press “1” in my external keyboard, then it also works. But major problem is when I press “Escape” key in external keyboard, then it not working. It pressed “Escape”!

    This problem effected me when I play Need For Speed The Run. “Escape” key is most essential key for this game to go back, Pause, Main menu bring etc. But “Escape” of My laptop Keyboard is not working. So I mapped “escape” key to “1” key. But it not working in the game. I also want to explain that it is working in other game.

  14. If it worked for one keyboard that’s connected it should work for all of them. Have you rebooted after plugging in the external keyboard? Might want to post this over at the forum at GitHub too, in case someone else has seen this. In all cases, SharpKeys isn’t mapping the key: it’s just exposing a Registry key that allows Windows to remap it.

  15. Thanks, Randy – terrific utility. I have a small left shift key on my laptop, so mapped the one beside it (didn’t need it anyway) to also be left shift.

  16. hi there love this utility. any chance you could include a way to save keymaps as separate profiles? I use several diff gamepads and have to re-do each keymap when i swap to a diff one. i definitely could see myself donating some $ if saved profiles could be implemented. i understand this would still require a reboot of the comp to implement the loaded profile, thats fine. It would still save me a lot of time.

  17. Hi. Sharpkeys is great but my keyboard is now messed up. I just tried to edit the CTRL to become “Q” so its easier for my fingers. But now when I key in the letter “O” it shows “6” and the “L” is “3”. How do I restore my keyboard mapping to its original/default?

    1. Hi – you can open SharpKeys, remove all of the entries there, Save it back to the Registry, and reboot. That should remove all of the remappings.

  18. Hello,

    I’m hoping you can help me. After a coffee spill my FN toggle key (microsoft surface) stopped working. This is a useful key for me not only to turn on/off the function keys, but also when used with the arrows for moving quickly through code/text. I tried using SharpKeys to map”Special: Wake (or FN) (E0_63)” to the “Special: Caps Lock (00_3A)”, as I don’t use the latter very often. However it does not seem to do the trick… Is there any way to do what I want?

    Thank you

  19. thank you very much I had the shift and escape key was not working but with your software, it’s awesome I don’t know how to thank you I will donate thank you very much
    regards

  20. Hi Randy,
    I’m trying to remap a horribly placed FN key on a tablet keyboard by switching FN and ctrl
    but the program doesn’t seem to recognize FN. Anything I could do?

    Thanks!

Leave a Reply to jeff Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.