Software shortcuts

It will be nice to support custom application keyboard shortcuts in shotgun desktop.
For example launching Houdini in the current project context by pressing Alt+H.

Can I use a websocket communication with SG desktop tu run the app? Is the protocol somewhere described? Or any other idea how to provide shortcuts support?

Thanks