Example ====== Enable/Disable Pioneer DJ Triggers ====== ^ by: | Sebastian Beutel, August 2021 | ^ published: | here | ^ description: | toggle DJ Triggers on/off | ^ remarks: | see https://www.facebook.com/groups/Avolites/posts/2286963858102502/ | {{tag>Pioneer DJ triggers}} ==== functions ==== * [[:macros:function:PioneerDJ.SetBPMTriggersEnabled]] ===== Code ===== PioneerDJ.SetBPMTriggersEnabled(true) PioneerDJ.SetBPMTriggersEnabled(false) ===== Explanation ===== This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] The used function directly sets the BPM triggers to enabled/disabled depending from the parameter. ===== How to use it ===== - [[:macros:deploying|make this macro available]] - Copy these macros to a button and use this to enable/disable BPM triggers (similar to the switch in the PioneerDJ workspace window). ~~DISCUSSION~~