Laptop ignoring scancode map

0

1

My keyboard is messed up, the 'i' and 'o' keys don't work. I'm currently making do with alt+numpad ascii... but it's incredibly annoying (still less than the damn on screen keyboard).

Figured I'd swap some keys around so I could get my vowels back.

I've changed the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout registry file Scancode Map with the following binary 1.

However, it had no effect whatsoever. My '+' and '«' keys are still working as such, and I'm going crazy. Bright side is, I now know h♂w t♂ make gender f♀gures! ♥♥♥

Fuujin

Posted 2015-12-08T17:13:42.913

Reputation: 3

Have you tried a spare (USB( keyboard? – DavidPostill – 2015-12-08T17:59:29.673

I only have PS2 ones >.<. :/ – Fuujin – 2015-12-08T18:02:35.990

So did you try a different PS2 keyboard? – DavidPostill – 2015-12-08T18:03:10.437

Have you cleaned your keyboard? – DavidPostill – 2015-12-08T18:03:39.353

You can get a PS2 > USB adapter. – RookieTEC9 – 2015-12-08T18:20:43.950

I know I can get a new keyboard. I just wanted to swap the keys in the registry since I don't want to carry a keyboard wherever I go. – Fuujin – 2015-12-08T19:27:07.517

Answers

1

The entries have the codes in reverse order. Try this, instead.

00 00  00 00    header version
00 00  00 00    header flags
03 00  00 00    number of entries in the map
17 00  0D 00    '+' -> 'I' (0x0D -> 0x17)
18 00  1A 00    '[' -> 'O' (0x1A -> 0x18)
00 00  00 00    null entry for terminator

dxiv

Posted 2015-12-08T17:13:42.913

Reputation: 1 784

1This worked :) Not sure why every website had this reversed. Even SharpKeys has the 'From and To' columns switched, it seems. – Fuujin – 2015-12-29T16:15:05.503

1

@Fuujin One common use case is swapping the CAPS and Ctrl keys, and the order doesn't matter in that case. Plus, the MS reference page Keyboard and mouse class drivers has the order wrong as well.

– dxiv – 2015-12-29T17:35:42.570