2
1
From time to time I have to use a backup laptop (typically when I forget my power cable like today) but it has a broken "j" key.
What I'd like to do is remap my tilde key to "j" using the scancode map key in the registry but I not certain what hex values would do this. In short, I need to make the following reg file:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:[the hex value to change the accent/tilde key to "j"]
I'm aware of software that can do this for me but I'm a big believer in not downloading and running executables from the internet that fiddle with my keystrokes and/or registry if it can be avoided.
Thanks for the links, Yosh. I'm sure KeyTweak would work but I'm looking to do this manually. – Blomkvist – 2011-05-11T12:59:10.683
KeyTweak is also handy for finding the scan codes (use Full Teach Mode - but on a computer with a working keyboard). FYI, ~ is 41 and J is 36. – yosh m – 2011-05-11T13:05:53.227
1
Oops - should have mentioned the HEX values: 29 and 24 respectively. Take a look at http://www.ee.bgu.ac.il/~microlab/MicroLab/Labs/ScanCodes.htm for a full list of scan codes. Also in PDF at flint.cs.yale.edu/cs422/doc/art-of-asm/pdf/APNDXC.PDF
– yosh m – 2011-05-11T13:11:29.500In re-reading your question, I understand you actually want to learn how to muck around in the registry yourself to change this rather complex value. Personally - I don't recommend that - it's safer to use a tested and reliable tool, like KeyTweak. However, if you really want to get into the guts and create a .REG file, you can learn all about it here: http://msdn.microsoft.com/en-us/windows/hardware/gg463447.aspx
– yosh m – 2011-05-11T13:19:50.373Alternatively, try KeyTweak - you can use its feature to show the Raw Map and see what you need to put there (or just go into RegEdit to see what it created).
Be sure to backup your registry before you go diving into it, though... – yosh m – 2011-05-11T13:27:34.957