Skip to content

Button Actions (Press Release) and Images

Jerker Dahlblom edited this page Oct 14, 2023 · 1 revision

Actions

Actions are what are triggered when interacting with a Stream Deck button. For most action types you can program two actions for each button, one for when the button is pressed and one for when it is released.

Each action can have a series of commands assigned to it and these can be configured to launch as a one shot macro or sequentially on each action state trigger.

This gives you extremely configurable behaviour compared to having a single action per button at the cost of some extra work during programming in some situations. The trade off is worth it however because it allows you to manipulate almost any type of virtual control with Stream Deck's momentary buttons.

Action Types

Action types are mutually exclusive per button, you cannot have one action type on press and another on release but you can have multiple action types on different buttons on one profile.

There are 4 main action types:

  • Key Press - Simulates keyboard inputs
  • DCS-BIOS - Sends API commands directly to DCS to control switches as though you had controlled them in game with your mouse.
  • OS Command - Run a command line script or launch an application e.g. a batch file or powershell script.
  • Layer Navigation - Switch to a specified layer. See Layers below.

Additionally there is one meta-action which can be applied alongside the main actions.

  • Play Sound - allows sound files to be triggered when the button is pressed. The volume of the sound file playback can also be adjusted.

Button displays

Each button's display can be set to one of the following:

  • Static Text - Display custom text in the colour, font and background colour of your choice.
  • DCS-BIOS Decoder - Use DCS-BIOS output data to dynamically set the image and text displayed.
  • Image - Displays a chosen static image.