I am trying to map a macro for triggering 1Password to the Butterfly key in the QWERTY layout. If you are not familiar with 1Password shortcuts, in applications with native integrations the login box can be brought up with
\, while a more generic keyboard-emulating box can be brought up in any app with
I accomplished triggering the first command with a
MACRODOWN(D(LeftGui), T(Backslash)) and naively assumes that tapping
Opt + the butterfly key would translate to the more generic shortcut described above. Unfortunately it seems that triggering the macro resets the down state of the
Opt modifier. I looked at the keyboard events as reported by the OS (MacOS 10.13) and the sequence looks as following:
Opt down Opt up Cmd down \ down \ up Cmd up Opt down
The OS sees me holding down the
Opt, but the triggering of the macro resets the key state until the macro is done, at which point the down state of the
Opt is re-detected.
Question: Is there a way to combine macros with other modifiers in a way that preserves their down states?