A script for Q-SYS Designer which uses UCI control elements to create a (likely invisible) 'PIN pad', requiring the added controls to be pressed sequentially, within a certain amount of time.
- Add controls to the UCI
- In the 'UCI Layout' tab, add your trigger buttons. Name them appropriately (e.g. secretMenu_button_1...2...3...etc).
- Initialise the Module
- In the 'UCI Script' tab, declare a secretMenu instance:
secretMenu = require('Q-Sys_secretMenu')
- Add the buttons to the 'secretMenu' instance
- In the 'UCI Script' tab, call the .addButton(control) function for each of your buttons, passing it their name. The order in which you add them will be the order in which they need to be pressed.
secretMenu.addButton(Controls.secretMenu_button_1) secretMenu.addButton(Controls.secretMenu_button_2) secretMenu.addButton(Controls.secretMenu_button_3)
-
Move Module Directory
- Move the parent directory (
Q-SYS_secretMenu) toQSC/Q-Sys Designer/Modules.
- Move the parent directory (
-
Install in Q-SYS Designer
- In Q-SYS Designer, install the module (
Q-SYS_secretMenu) by going toTools -> Show Design Resources... -> Availableand clicking theInstall Modulebutton.
For help, see Q-Sys 'External Lua Modules' guide
- In Q-SYS Designer, install the module (
-
Add Controls in UCI
-
Initialise the Module in UCI Script
- Insert the following Lua code in the UCI Script:
mutesliders = require('Q-SYS_muteSliders')
- Insert the following Lua code in the UCI Script:
For more detailed instructions or troubleshooting, please refer to the official documentation.