There are sooooo many discussion on the internet about swapping the fn and ctrl key on a MacBook Pro.
Function keys. If you’re using the Mac keyboard, you’ll want to change the function key behavior so the F1-F12 keys work correctly in Visual Studio. If you’re using the Mac keyboard, you’ll want to change the function key behavior so the F1-F12 keys work correctly in Visual Studio. By adding the Touch Bar to the latest MacBook Pro, Apple has added a way for Mac users to access all manner of tools without having to click a mouse or trackpad.Everything sits at the top of the keyboard, mere inches from where your fingers already rest. The Touch Bar is specially designed for use with Mac-based programs.
On the Mac side, a new software called ReMap4MacBook does a perfect job swapping the two key.
But on the PC side (specifically Windows 7), I can't really find a definitive answer. Most post refer to this article but I read the loooong article and followed the instructions to no avail.
I remember there used to be a program (maybe it was on XP) that not only swapped the two keys but it also controlled the fans on the MacBook Pro. But I can't remember the name and I also recall that that program stopped being updated like years ago.
EDIT: It's called Input Remapper.
So I am hoping there exist a simple program that I can simply run to swap those two keys.
hobbes3hobbes35 Answers
This is often impossible, because the Fn key is hardware and when pressed together with another key it sends a media key code or sometimes does something hardware based while sending no code at all. Your best bet is to adjust the BIOS (extremely hard, if not impossible) or the keyboard (some rewiring hack might be feasible), because Fn simply isn't in the Scan Code Specification...
Update, it seems that Apple defers from this way of doing things. You can apparently do this with DoubleCommand on Mac OS X, however this does not impose any interfacing with Windows, which will still continue to be a mystery, someone would figure out with some kind of scancode scanner whether there is actually a key code sent. As I don't have a MacBook I can't...
Tamara WijsmanTamara WijsmanThere is a registry key that may be able to do this, however I haven't found any documentation on it.
The Apple Keyboard Driver in
Fn Key Dell
contains the entries
(there is also OSXFnBehavior but AFAIK this just controls that the function keys can be pressed without pressing Fn)
Maybe someone can figure out the keycodes for Fn and Ctrl?
laktaklaktakI have used KeyTweak in Win 7 to successfully remap LAlt <-> LWin and RAlt -> RCTRL, RWin -> RAltBut Fn is not detected, even in AutoHotKey, so we probably have to wait for Bootcamp update.
The other option you can try is AutoHotKey. http://www.autohotkey.com/
It's a service you have to run in the background, but I've used it in the past when I was using an Apple keyboard on a Windows machine. It works pretty well--the only downside is that you need to have a service constantly running in the background.
Parallels For Mac Push Fn Key For Control To Work
Someone implemented a kernel-mode driver to do this magical feat for the wireless Apple keyboard. I am not sure if it works for a macbook. The FAQ says that an option is to install Windows 'natively.' Regardless, there is a good chance a small modification to the source code could get it working everywhere.
Aleksandr DubinskyAleksandr Dubinsky