3 ms·
It's probably better to swap the command and option keys via the swap_opt_cmd=1 parameter on the hid-apple kernel module that way they are globally swapped, not
by zamadatix 5y ago
It's probably better to swap the command and option keys via the swap_opt_cmd=1 parameter on the hid-apple kernel module that way they are globally swapped, not just in sway. fnmode=2 is another useful one which sets f1-f10 to be function keys by default so e.g. pressing f10 sends f10, not mute because you forgot to press fn+f10.
You can find some other options in https://github.com/torvalds/linux/blob/c5d9ae265b105d9a67575fb67bd4650a6fc08e25/drivers/hid/hid-apple.c https://github.com/torvalds/linux/blob/c5d9ae265b105d9a67575... as well