One of my laptop's keys has fallen off. Is there any way I can remap another key to serve as that key? I'll 'sacrifice' the other key because I never use it.
Here is a good article from Howtogeek about using a utility called SharpKeys:
Map Any Key to Any Key on Windows 10, 8, 7, or Vista
If you are tired of the way certain keys on your system work, such as the Caps Lock key, you can re-map them to function as a different key by using a registry hack. But there should be an easier way, right?
This is where SharpKeys comes into the picture: It’s a small utility that will let you easily map one key to another key easily, or even turn the key off, without having to enter the registry at all.
For instance, I used the key mapping to just turn off my Caps Lock key, since I never use it.
You can click the Add button to bring up the Add New Key Mapping dialog, where you can either select the keys to map from the lists, or just click the Type Key button and press the key manually (which I find much more intuitive)
Once you are done, click the Write to Registry button and you’ll be told to log off or reboot for the changes to take effect.
If you want all the technical details on how the registry keys work, you can read about how to map keys using registry hacks.
Using Microsoft Keyboard Layout Creator here without problems. For switching modifier keys I would suggest a registry hack or an application that changes the registry for you, do not use a pure software remap like AutoHotkey as those solutions don't work for every application.
Another solution is to get a replacement key in case you really can't insert the key back in your laptop, have you tried a search for 'broken laptop key'?
You can use Microsoft's Keyboard Layout Creator.
This will even allow you to add extra functionality to your keyboard, such as changing a key into a dead key (e.g. ~), add extra mappings (e.g. altgr+c ->
You need to modify the
Basically you just modify the
VK_column to match the value in column
So for example if you want to bind L to N, you would create the keyboard as you normally would in KLC. Then you would open the KLC file in a text editor. Find the value
VK_column, and switch it to an
For more information, I wrote the complete steps on my blog.
Warning: incomplete support for key bindings in somme applications
However, be warned that some applications might not take those special keystrokes properly.
As an example: with my particular configuration, pressing altgr+a in DotA2's teamchat will erase the text — instead of adding an
ã like in other applications.
I have Genius KB-G235 USB keyboard (HID) and WinXP SP3. Neither of applications in previous answers didnt work for me. (Because working with PS/2 codes or not (fully) with XP).
I tried HotkeyP (freeware) http://petr.lastovicka.sweb.cz/others.html and this works! Just add action for key and its done. (After assign new action isn't default action executed.)
The easiest way: The Microsoft Keyboard Layout Creator. This is an official Microsoft solution. Functionality is similar like Ukelele for OS X.
Download and instructions: http://msdn.microsoft.com/en-GB/goglobal/bb964665.aspx
http://www.autohotkey.com/ can be a simpler and powerful solution. You can remap keys and create modifiers keys using scripts like
;Use Capslock as a modifier and not as capslock anymore $*Capslock:: Gui, 99:+ToolWindow Gui, 99:Show, x-1 w1 +NoActivate, Capslock Is Down keywait, Capslock Gui, 99:Destroy return ;Write functions for keys while capslock is beeing hold here #IfWinExist, Capslock Is Down j::Down k::Up l::Right h::Left m::AppsKey i::Insert d::Delete #IfWinExist ;Use right and left shifts to toggle capslock RShift & LShift:: SetCapsLockState, % (State:=!State) ? "On" : "Off" return LShift & RShift:: SetCapsLockState, % (State:=!State) ? "On" : "Off" return
I found one app which can do almost all of them in windows 7 and it works without any issues when your desktop is unlocked. Also it is pretty easy to use.
Only drawback I found is it will not work when desktop is locked say I come back from sleep and the computer is locked and I have loud music playing. Multimedia keyboards can mute from there itself. But with this app you need to unlock first.
protected by Community♦ Apr 6 '15 at 20:32
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?