Intercepting the Fn key on laptops

Igal Tabachnik picture Igal Tabachnik · Feb 5, 2009 · Viewed 10.7k times · Source

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?

Answer

Mike Douglas picture Mike Douglas · Feb 5, 2009

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.