

If you will be asked to confirm that you want to edit your registry. They are clearly named so if you want to switch functions just click on the one labelled as “apply switch right arrow.reg”. Visit the following Google Drive and download the two. The last command will save current keycode mappings to the file mykeymaps.txt and Windows
#REMAP KEYBOARD KEYS WINDOWS HOW TO#
If you are wondering how to find keycodes and functions for various keys run the following command: After that, you’ll need to define which key you want to remap (in the Key: column), and what key or shortcut you want it to perform (in the Mapped To: column). When the Remap Keyboard window pops up, click the plus button (+) to add a new key mapping. If there is need to modify repeat behavior as in my case above do this. In the Keyboard Manager settings, click Remap a Key. Shift does not need this behavior hence the two commands.īasically all you need to do to swap key functions is to assign the function you want to swap to a new keycode say 62, add the function function of key 62 to the other key you want to swap e.g 111. The Up key needs the repeat function for example if you keep it pressed down it will continue to send the Up signal function as you say scroll up or are moving a game character. The last two commands deal with repeating and you will notice they are a little different from the first four. xset -r 111Make sure the new Shift key is not repeated.xset r 62 This command makes sure the Up key is repeated.xmodmap -e “remove shift = Up” Remove shift powers from old shift key.xmodmap -e “add shift = Shift_R” Give shift powers to the new shift key.
#REMAP KEYBOARD KEYS WINDOWS CODE#

Generally the following steps are involved when remapping keys in my case. More often than not it is already installed as part of the xserver environment. To remap keys on Linux you will need the utility xmodmap to be installed. I will also show you how you can do it on Windows but since I don’t have Windows on my new machine I cannot guarantee it will work. I actually use Linux in my everyday life so naturally I will tell you how you can remap keys on Linux as I have already done and tested the process. Okay I am not a Linux fan as some people seem to think. That sounded interesting so I asked for more information from him and it turns out I don’t know everything there is to know about computers as I initially thought. How to Apply Changes to the Registry: There are at least two methods to remap keys via the registry: Use a program like KeyTweak (freeware) to visually remap your keys. Then a miracle happened: one of my colleagues suggested that I remap the keys. It supports only the keyboard (AutoHotkey has mouse remapping and some limited joystick remapping).
