One think you can even do is detect which devices are being used and handle shortcuts differently. You can write a full on workflow that can be triggered with a keyboard shortcut if you’re using hammerspoon.
I recently switched from a homecooked keyboard "expansion" plugin to using Espanso but it can do that as well!
I wrote two articles on using global hotkeys with hammerspoon:
https://ohdoylerules.com/tricks/hammerspoon-hyper-key/ https://ohdoylerules.com/tricks/hammerspoon-number-pad-short...
One think you can even do is detect which devices are being used and handle shortcuts differently. You can write a full on workflow that can be triggered with a keyboard shortcut if you’re using hammerspoon.
I recently switched from a homecooked keyboard "expansion" plugin to using Espanso but it can do that as well!