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

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

Answers (1)

Conor
Conor

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

Related Questions