mirror of
https://github.com/jwetzell/q-sys-plugin-novastar.git
synced 2026-09-11 06:59:32 +00:00
add pin properties to input and preset controls
This commit is contained in:
+60
-20
@@ -69,52 +69,72 @@ function GetControls(props)
|
|||||||
{
|
{
|
||||||
Name = "IN1",
|
Name = "IN1",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN2",
|
Name = "IN2",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN3",
|
Name = "IN3",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN4",
|
Name = "IN4",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN5",
|
Name = "IN5",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN6",
|
Name = "IN6",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN7",
|
Name = "IN7",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN8",
|
Name = "IN8",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN9",
|
Name = "IN9",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "IN0",
|
Name = "IN0",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
--Brightness Knob
|
--Brightness Knob
|
||||||
{
|
{
|
||||||
@@ -178,52 +198,72 @@ function GetControls(props)
|
|||||||
{
|
{
|
||||||
Name = "PRESET1",
|
Name = "PRESET1",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET2",
|
Name = "PRESET2",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET3",
|
Name = "PRESET3",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET4",
|
Name = "PRESET4",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET5",
|
Name = "PRESET5",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET6",
|
Name = "PRESET6",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET7",
|
Name = "PRESET7",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET8",
|
Name = "PRESET8",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET9",
|
Name = "PRESET9",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name = "PRESET10",
|
Name = "PRESET10",
|
||||||
ControlType = "Button",
|
ControlType = "Button",
|
||||||
ButtonType = "Trigger"
|
ButtonType = "Trigger",
|
||||||
|
PinStyle = "Input",
|
||||||
|
UserPin = true
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user