pqrs-org / Karabiner-archived

Karabiner (KeyRemap4MacBook) is a powerful utility for keyboard customization.
https://pqrs.org/osx/karabiner/
The Unlicense
3.82k stars 309 forks source link

combine `SimultaneousKeyPress` + `KeyOverlaidModifier` #795

Closed julien-h2 closed 7 years ago

julien-h2 commented 7 years ago

Hello,

I remapped K+N to STICKY_SHIFT, but this loose the shift behavior while holding K+N. To solve this problem, Is there a way to combine KeyOverlaidModifier with SimultaneousKeyPress ?

Many thanks

<autogen> __SimultaneousKeyPresses__
          KeyCode::K, KeyCode::L,
          KeyCode::VK_STICKY_ACTIVE_MODIFIERS_FORCE_ON,
          KeyCode::VK_STICKY_SHIFT_R,
</autogen>
julien-h2 commented 7 years ago

Found the solution

<autogen> __SimultaneousKeyPresses__
          KeyCode::K, KeyCode::L,
          KeyCode::SHIFT_R,
          SimultaneousKeyPresses::Option::RAW
        </autogen>