Shortcut to keymap/stream deck integration

I was hoping to see if anybody had suggestions on how to semi-integrate my UHK with my Elgato Stream Deck.

For example, I have profiles for working, writing, gaming, and a few applications on my Stream Deck; I have keymaps for gaming, working, and writing on my UHK. Is there any simple way for me to either switch keymaps via a shortcut mapped to my Stream Deck, or have my Stream Deck switch to the corresponding profile when I switch keymaps on my UHK?

have my Stream Deck switch to the corresponding profile when I switch keymaps on my UHK

I’m rather sure that this is not possible.

switch keymaps via a shortcut mapped to my Stream Deck

This should totally be possible. I presume that a Stream Deck can issue shell commands, right? Like, /bin/sh on Linux and Mac, and cmd on Windows?

Well, as documented in the user guide, you can execute arbitrary macro commands from your computer. That means that you should be able to call switchKeymap.

So you would program your Stream Deck to call uhkcmd "switchKeymap <myKeymapAbbreviation>", or /path/to/exec-macro-command.ts "switchKeymap <myKeymapAbbreviation>", depending on how you followed the user guide linked above.

2 Likes

Thanks a ton! I’ll check this out when I have a chance to.