add pin properties to input and preset controls

This commit is contained in:
2024-02-25 21:15:33 -06:00
committed by GitHub
parent 2571bed1c3
commit f50666b521
+61 -21
View File
@@ -69,52 +69,72 @@ function GetControls(props)
{
Name = "IN1",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN2",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN3",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN4",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN5",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN6",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN7",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN8",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN9",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "IN0",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
--Brightness Knob
{
@@ -178,52 +198,72 @@ function GetControls(props)
{
Name = "PRESET1",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET2",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET3",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET4",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET5",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET6",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET7",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET8",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET9",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
Name = "PRESET10",
ControlType = "Button",
ButtonType = "Trigger"
ButtonType = "Trigger",
PinStyle = "Input",
UserPin = true
},
{
@@ -1170,4 +1210,4 @@ if (Controls) then
sendBrightness(Properties['Default Brightness'].Value)
end;
end
end