What's the Karabiner keycode for exclamation mark (!)?

1.2k Views Asked by At

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?

1

There are 1 best solutions below

0
Conor On

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>