The Stream Deck plugin
On the downloads page there's Dualan-<version>.streamDeckPlugin. Double-click it and the Stream Deck app (7.1 or newer) installs it. In the app's list of actions you then find a Dualan category with five keys:
- Privacy screen: on and off. The key turns red while it's on, also when you switched it some other way.
- Shown in OBS: red while the Dualan picture is in OBS's program output, so you see at a glance that viewers see your gaming PC. Press it to open Dualan (on the streaming PC: Dualan controls).
- Preset: switches to a preset; pick which one in the key's settings. The key shows its name.
- Capture the window in front: the game you're looking at becomes what's captured; press again for the whole monitor.
- Monitor: captures a monitor as a whole; pick which one in the key's settings (the number in Dualan's monitor list). Put one key on the deck for each monitor you stream.
Each key has its name written on it. You can type your own text in the Stream Deck app.
Gaming PC or streaming PC
The plugin works with the Stream Deck on either PC:
- On the gaming PC the keys talk to Dualan right there.
- On the streaming PC they go through OBS to the gaming PC, over the same encrypted link as the picture. That needs a pairing code, and Let OBS change these settings must stay on (gaming PC, Settings, under Show advanced settings; it's on unless you turned it off), like for Dualan controls. OBS has to be running with a Dualan Source connected.
If Dualan (or, on the streaming PC, a connected Dualan Source) isn't there, a key shows a warning sign.
Without a Stream Deck
The plugin uses a tiny program that comes with Dualan, dualan-ctl.exe, in Dualan's folder. Anything that can start a program can use it: Bitfocus Companion, AutoHotkey, a desktop shortcut, a macro key on your keyboard.
dualan-ctl privacy
dualan-ctl privacy-on
dualan-ctl privacy-off
dualan-ctl preset-recommended
dualan-ctl follow
dualan-ctl monitor-0
dualan-ctl status
status prints whether Dualan runs, whether the privacy screen is on and whether you're live, as one line of JSON, for scripts that want to show it somewhere.
dualan-ctl only talks to a Dualan already running for the same Windows user, or on the streaming PC to OBS with the Dualan plugin, which passes it on. It never starts one and can't do anything else.