Are Keyboard Maestro hotkey triggers bound to hardware keys or particular unix characters ?
When using Anki (not, I think, an Electron app ?) I find that whether or not a macro is triggered depends on which IME I am using (which language the input source is set to).
Tapping an R, for example, normally plays an audio file on an Anki card, and this works with an EN IME, but fails to trigger when I am using a different language.
There is probably a way around this, but I haven't found it.
(I notice that trying to add a secondary hotkey trigger while using the alternative IME still shows an R, rather than the second language character, in the macro trigger's click well)
Any thoughts ?
PS I think that Anki's GUI uses the Qt (PyQt) framework rather than standard Apple widgets – perhaps that is the source of the problem.
Key codes, I believe. You can see this by setting an hot key with your OS set to one language/keyboard layout, then switching to another -- the same key triggers the macro, the Editor UI updates to the new "characters":