views:

892

answers:

1

Sometimes when I work on Thinkpads/MSI laptops, the Ctrl and Fn key are swapped (Fn being the leftmost key), and it drives me nuts - I keep hitting Fn instead of Ctrl.

I was wondering if it's at all possible to intercept the Fn key. I'd like to write a hook that swaps the Ctrl/Fn keys, but it seems that Fn is not being processed by the OS at all.

Any ideas?

+3  A: 

Sorry. As you mentioned, the Fn key isn't processed by the OS, but received as tuples of Fn+[key]. The best you could probably do would be mapping every Fn+[key] combination to ctrl (and that's only if you never use Fn keys).

Edit: Found this. Before you give up hope, might want to give it a try.

Mike Douglas
Thanks, I'll try it. I tried AutoHotkey before, and unfortunately it didn't recognize the Fn combinations on my HP laptop. I'll try it later on some Thinkpads.
hmemcpy
Deep in a wall of text it mentions that, for some IBM models, switching fn and ctrl is a BIOS option away.
Mike Douglas
Mike - On a ThinkPad W500 w/ Windows 7 Home Premium (64 bit) and running Key Tweak, pressing the Fn key (alone) registers with a scan code. Does this imply the key is indeed processed by the OS?
Matt
Matt - Yes, so you should be able to remap it.
Mike Douglas