Skip to main content
Corvus Connection

On Gamepad Input

Event
Trigger
entry.onGamepadInputFires on a controller button edge captured by the input agent. Binds the pad index, the standard-mapping button name, the edge, and the controller family.Triggers on a controller button edge; binds padIndex / button / edge / family.
Engagement

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
padIndex
Data
System.Int32
multiplexed
button
Data
System.String
multiplexed
edge
Data
System.String
multiplexed
family
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    padIndex
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    button
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    edge
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    family
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Bindings

Name
Type
Description
padIndex
System.Int32
The 0-based index of the pad that produced the edge.
button
System.String
The button's W3C standard-mapping name.
edge
System.String
The edge kind: pressed, released, or held.
family
System.String
The controller family the overlay renders it as.
  • Name
    padIndex
    Type
    System.Int32
    Description
    The 0-based index of the pad that produced the edge.
  • Name
    button
    Type
    System.String
    Description
    The button's W3C standard-mapping name.
  • Name
    edge
    Type
    System.String
    Description
    The edge kind: pressed, released, or held.
  • Name
    family
    Type
    System.String
    Description
    The controller family the overlay renders it as.

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
\u0022\u0022
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
    \u0022\u0022
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnGamepadInput] Handle(ctx, GamepadInputContext e)