User Tools

Site Tools


This is an old revision of the document!


Trigger - Toggle Trigger Mappings

by: Sebastian Beutel
published: January 2018
description: Toggles trigger mappings on/off (without entering system mode).
remarks: Idea from facebook group:



<?xml version="1.0" encoding="utf-8"?>
<avolites.macros xmlns:xsi="" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">
<!-- the first two trigger mappings are predefined and fix, thus the first user mapping is ID 2 -->
  <macro id="Avolites.Macros.Triggers.Mapping.Toggle.1" name="Toggle Triggermapping 1">
    <description>Toggle Triggermapping 1.</description>
  <macro id="Avolites.Macros.Triggers.Mapping.Toggle.2" name="Toggle Triggermapping 2">
    <description>Toggle Triggermapping 2.</description>
  <macro id="Avolites.Macros.Triggers.Mapping.Toggle.3" name="Toggle Triggermapping 3">
    <description>Toggle Triggermapping 3.</description>
  <macro id="Avolites.Macros.Triggers.Mapping.Toggle.4" name="Toggle Triggermapping 4">
    <description>Toggle Triggermapping 4.</description>
  <macro id="Avolites.Macros.Triggers.Mapping.Toggle.5" name="Toggle Triggermapping 5">
    <description>Toggle Triggermapping 5.</description>


This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

The macros use the function Triggers.ToggleMappingEnable to enable/disable trigger mappings. The first two mappings are predefined and cannot be altered, thus the user-defined mappings start with ID 2.

N.B. currently it is not possible to show whether a specific mapping is enabled using Active Binding as this requires a property, but there are no properties available for this purpose. (thanks to Gregory Haynes for explaining this)

How to use it

You could leave a comment if you were logged in.
macros/example/toggletriggermappings.1556403663.txt.gz · Last modified: 2019/04/28 00:21 by sideshowbond