I would like to remap my Left Control to Fn key using hidutil
. This is the command I've been trying to use:
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x7000000E0,"HIDKeyboardModifierMappingDst":0x7000000??}]}'
There is a list of hex IDs on this page: https://developer.apple.com/library/archive/technotes/tn2450/_index.html but Fn key is not there.
I couldn't find it in a USB specification either: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf.
The ID (0x3F) found in this document: https://github.com/tekezo/Karabiner/blob/master/src/bridge/generator/keycode/data/KeyCode.data is wrong.
What is the hex code for Fn key that I can use with hidutil
? Or is it not possible what I've been trying to do?
(I would have remapped the keyboard using Karabiner-Elements if it wasn't buggy on my computer.)