Touch Bar does not change to f1-f12 when I press the fn key
It’s an issue of macOS, and unfortunately, Karabiner-Elements cannot avoid this issue.
Instead, please change fn+number keys to function keys in Karabiner-Elements configuration.
- Import Map fn + number keys to function keys
- Enable
Map fn + number keys to their corresponding function keys
. - You can use f1-f12 keys by fn+number keys.
Note
If you are using “Use all F1, F2, etc. keys as standard function keys.”, enableMap fn + number keys to their corresponding media control keys
instead.
Detail of the problem
The fn key events are ignored by Touch Bar since the following facts.
- Touch Bar accepts the fn key event only from the build-in keyboard.
- The fn key events are sent from Karabiner’s virtual keyboard when Karabiner-Elements is running.
Unfortunately, posting input events via own virtual keyboard is the only way to accomplish the stable input event modification.
In other words, we cannot post the fn key event through the built-in keyboard if we want to change key events stably.