User Tools

Site Tools


macros:function:triggers.setpendingtargethardware

This is an old revision of the document!


Function

Triggers.SetPendingTargetHardware

Void Triggers.SetPendingTargetHardware(
  String keyClass, MenuEventTypes eventType, String keyGroup, Int32 keyIndex, String keyName
  )
API http://api.avolites.com/11.0/Triggers.SetPendingTargetHardware.html
description Sets the pending trigger target to a hardware target.
namespace Triggers
parameter keyClass ( String ) : name of the physical button or group of button
eventType( MenuEventTypes ) : the type of event
keyGroup ( String ) : the virtual area on the console that the button maps to
keyIndex ( Int32 ) : the index of the key in the group
keyName ( String ) : the name of the button
return value Void
Example in

addminitrigger:

    <step>Triggers.SetPendingTargetHardware(
        "PresetFader", 
        Math.ToEnum(
          "", 
          "Avolites.Menus.MenuEventTypes", 
          "OnValueChanged"), 
        "Presets",
        0, 
        "")
    </step>
 
    <!-- Or -->
 
    <step>Triggers.SetPendingTargetHardware("PlaybackSelect", OnButtonDown, "Playbacks", 1, "")</step>
 

For some more examples see http://forum.avolites.com/viewtopic.php?f=20&t=5726

Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/triggers.setpendingtargethardware.1536593892.txt.gz · Last modified: 2018/09/10 15:38 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki