Skip to main content
Corvus Connection

On Stream Deck Button

StreamDeck
Trigger
entry.onStreamDeckButtonPressFires when an Elgato Stream Deck key assigned to Corvus is pressed. Binds the key's device, coordinates, and action context.Triggers on a Stream Deck keypad press; wire 'context' into a Stream Deck action to target the same key.
System

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
deviceId
Data
System.String
multiplexed
column
Data
System.Int32
multiplexed
row
Data
System.Int32
multiplexed
context
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    deviceId
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    column
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    row
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    context
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Bindings

Name
Type
Description
deviceId
System.String
The Stream Deck device id.
column
System.Int32
The pressed button's column (zero-based).
row
System.Int32
The pressed button's row (zero-based).
context
System.String
The Stream Deck action context for the button.
  • Name
    deviceId
    Type
    System.String
    Description
    The Stream Deck device id.
  • Name
    column
    Type
    System.Int32
    Description
    The pressed button's column (zero-based).
  • Name
    row
    Type
    System.Int32
    Description
    The pressed button's row (zero-based).
  • Name
    context
    Type
    System.String
    Description
    The Stream Deck action context for the button.

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
""
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnStreamDeckButtonPress] Handle(ctx, StreamDeckButtonContext e)