Reputation: 56
I'm trying to switch the keys '1' and '!' with Karabiner, but i cannot find the key code for the exclamation mark anywhere. Is it not possible?
Upvotes: 3
Views: 1462
Reputation: 461
As far a I understand there is no unique keycode for !. Instead it is only output when the system receives Shift_R + 1.
From my own Karabiner file. Using Option H to output !.
<autogen>
__KeyToKey__
KeyCode::H,
ModifierFlag::OPTION_L,
KeyCode::KEY_1, ModifierFlag::SHIFT_L,
</autogen>
Upvotes: 1