Caps Lock, Back Space and Enter have new unkown code

Apr 16, 2014 at 7:59 PM
When I run Sharpkeys and I am trying to reassign the following key I get the following error code:

Caps Lock: Toogle between E0_3F3A and 00_3A

E0_3F3A gives me the following error code:

You have entered a key that Sharpkey doesn't know about.

Using Bloomberg Keyboard on USB with correct drivers installed and Windows 7 Ultimate
Aug 13, 2015 at 7:03 PM
I seem to have fixed this.

Problem: 3 byte scan codes cannot be remapped easily, let alone with sharpkeys. In this case, I am trying to remap the caps lock key on a japanese keyboard, which is dual function for caps and IME. The default behavior of the key impacts the IME, and you use caps by pressing SHIFT this key. I want to swap CAPS and CTRL

Here is the logic I used, and it seems to have worked. Here is a three byte scan code given to me by sharpkeys

If I hold shift while pressing, I get the familiar caps lock code;

Notice that the last byte of the 3 byte is 3A, the same as caps?

I first remapped the first two bytes to no key: E0_3F to 0000. I did this in regedit but, luckily, its a key in sharpkeys as well if you look for it.
then remap caps to left control as usual: 00_3A to 00_1D
then left conrol to caps: 00_1D to 00_3A

And it works! The only quirk seems to be that, to use the caps key (my old ctrl key) requires me to hold shift while hitting they key. This is fine by me.!
If you want to do it manually here is the raw registry info

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,04,00,00,00,00,00,3f,e0,1d,00,3a,00,\