Thursday, 4 April 2019

windows 8.1 - mapping 1 key on keyboard to another



I am the less than happy owner of a Canadian ASUS laptop with a Canadian French keyboard, running Windows 8.1.


The left shift key is really narrow and easy to miss. Immediately to its right is a key with "\" on it. (Quite how having a "\" key there, while there is also a perfectly functional "\" key in the usual spot, is useful to Quebecers escapes me and I am Francophone too).


But the end result is that I touch-type a lot of '\j' instead of "J" for example.


How can I tell Windows to consider that both the left-shift and that annoying "\" key, but only at that location on the keyboard, should be considered shift? I don't care about the labels and I also don't wish to modify anything else on that keyboard.


I downloaded the MS Keyboard Layout Creator v 1.4, and it shows me the guilty key as VK_OEM_102. Tried typing in 'shift' as a replacement and it complained that it wanted 4 characters or 4 UTF-16 code points. Then I tried FEFF000F, which I got from http://www.fileformat.info/info/charset/UTF-16/list.htm as Shift-in.



Answer



Remap it by modifying HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout or use a third-party tool like SharpKeys to do the same thing via a GUI.


Edit: Several reports of SharpKeys working/not working on 8.1. You'd have to figure out what key the OS thinks your left \ is so you can find the scancode to remap it manually.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...