Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remap keyboard combinations, not just single registry values

I'm getting real tired of pressing shift every time I want to type $ or #. I've checked out key remapping programs like SharpKeys and a few others, but they don't support the SHIFT+[key] actions. The problem is they modify the registry value for a single key only (I think).

I want to flip over my number keys so when I type 4, it outputs $, similar to a French keyboard. (I tried physically rotating the key so it's upside down, but that's not working).

There must be a solution for this - can you help?

like image 910
Ben Avatar asked Nov 08 '10 06:11

Ben


People also ask

How do I reassign my keyboard keys?

Connect the keyboard that you want to configure. Select the Start button, and then select Microsoft Mouse and Keyboard Center. From the displayed list of key names, select the key that you want to reassign. In the command list of the key that you want to reassign, select a command.

How do I remap keys in Windows Registry?

Unfortunately, Windows doesn't allow you to remap keys directly. You can map them by altering the registry yourself, which we wouldn't recommend, or by using third-party software. One of the easiest keymapping software to use on Windows is SharpKeys.

How do I map a key in Windows 10?

In the “Keyboard Manager” settings, click “Remap a Key.” When the “Remap Keyboard” window pops up, click the plus button (“+”) to add a new key mapping. 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).


2 Answers

The registry hackers move virtual keys around. What you need is a custom keyboard layout. You can easily create your own with the Microsoft KeyBoard Layout Creator utility.

like image 184
Hans Passant Avatar answered Oct 05 '22 16:10

Hans Passant


In addition to the answer from @HansPassant, if you find trouble with the ctrl+KEY functions etc you might need to edit the .klc file manually.

See https://superuser.com/questions/171307/how-can-i-restore-ctrlkey-functionality-in-microsoft-keyboard-layout-creator :

You need to modify the .klc file manually.

Basically you just modify the VK_ column to match the value in column 1.

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 L in the VK_ column, and switch it to an N.

For more information, I wrote the complete steps on my blog.

like image 27
ANeves Avatar answered Oct 05 '22 16:10

ANeves