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?
Asked
Active
Viewed 1,008 times
3
-
Instead of thinking of it as '!', think of it as shift + 1. – rafaelcosman May 08 '16 at 21:59
1 Answers
1
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>

Conor
- 441
- 6
- 12