@intechstudio/grid-protocol 1.20251111.1314 → 1.20251125.1303
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +74 -44
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -283,26 +283,30 @@ var GRID_LUA_FNC_G_ELEMENT_COUNT_short = "gec";
|
|
|
283
283
|
var GRID_LUA_FNC_G_ELEMENT_COUNT_human = "element_count";
|
|
284
284
|
var GRID_LUA_FNC_G_ELEMENT_COUNT_fnptr = "l_grid_element_count";
|
|
285
285
|
var GRID_LUA_FNC_G_ELEMENT_COUNT_usage = "element_count(void) Returns the number of elements on the current module.";
|
|
286
|
+
var GRID_LUA_FNC_G_CALIBRATION_RESET_short = "gcr";
|
|
287
|
+
var GRID_LUA_FNC_G_CALIBRATION_RESET_human = "calibration_reset";
|
|
288
|
+
var GRID_LUA_FNC_G_CALIBRATION_RESET_fnptr = "l_grid_calibration_reset";
|
|
289
|
+
var GRID_LUA_FNC_G_CALIBRATION_RESET_usage = "calibration_reset() Deletes the calibration file and initializes all calibrations to their defaults.";
|
|
286
290
|
var GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_short = "gpcg";
|
|
287
291
|
var GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_human = "potmeter_calibration_get";
|
|
288
292
|
var GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_fnptr = "l_grid_potmeter_calibration_get";
|
|
289
293
|
var GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_usage = "potmeter_calibration_get() Returns raw potentiometer values as an array of integers.";
|
|
290
|
-
var
|
|
291
|
-
var
|
|
292
|
-
var
|
|
293
|
-
var
|
|
294
|
+
var GRID_LUA_FNC_G_POTMETER_CENTER_SET_short = "gpcs";
|
|
295
|
+
var GRID_LUA_FNC_G_POTMETER_CENTER_SET_human = "potmeter_center_set";
|
|
296
|
+
var GRID_LUA_FNC_G_POTMETER_CENTER_SET_fnptr = "l_grid_potmeter_center_set";
|
|
297
|
+
var GRID_LUA_FNC_G_POTMETER_CENTER_SET_usage = "potmeter_center_set({ int c1, ... }) Sets potentiometer calibration centers from an array of integers.";
|
|
294
298
|
var GRID_LUA_FNC_G_POTMETER_DETENT_SET_short = "gpds";
|
|
295
299
|
var GRID_LUA_FNC_G_POTMETER_DETENT_SET_human = "potmeter_detent_set";
|
|
296
300
|
var GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr = "l_grid_potmeter_detent_set";
|
|
297
301
|
var GRID_LUA_FNC_G_POTMETER_DETENT_SET_usage = "potmeter_detent_set({ int c1, ... }, bool high) Sets potentiometer detent bounds from an array of integers, where high = true sets high bounds and high = false sets low bounds.";
|
|
298
|
-
var
|
|
299
|
-
var
|
|
300
|
-
var
|
|
301
|
-
var
|
|
302
|
-
var
|
|
303
|
-
var
|
|
304
|
-
var
|
|
305
|
-
var
|
|
302
|
+
var GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_short = "grcg";
|
|
303
|
+
var GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_human = "range_calibration_get";
|
|
304
|
+
var GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_fnptr = "l_grid_range_calibration_get";
|
|
305
|
+
var GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_usage = "range_calibration_get() Returns raw minimum and maximum values as an array of integer arrays.";
|
|
306
|
+
var GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_short = "grcs";
|
|
307
|
+
var GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_human = "range_calibration_set";
|
|
308
|
+
var GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_fnptr = "l_grid_range_calibration_set";
|
|
309
|
+
var GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_usage = "range_calibration_set({ { int min1, int max1 }, ... }) Sets minimum and maximum values from an array of integer arrays.";
|
|
306
310
|
var GRID_LUA_FNC_G_GUI_DRAW_SWAP_short = "ggdsw";
|
|
307
311
|
var GRID_LUA_FNC_G_GUI_DRAW_SWAP_human = "gui_draw_swap";
|
|
308
312
|
var GRID_LUA_FNC_G_GUI_DRAW_SWAP_fnptr = "l_grid_gui_draw_swap";
|
|
@@ -831,23 +835,28 @@ var GRID_LUA_FNC_G_TOML_source = "grid_lua_src_toml_lua";
|
|
|
831
835
|
var GRID_LUA_FNC_G_SIMPLECOLOR_source = "grid_lua_src_simplecolor_lua";
|
|
832
836
|
var GRID_LUA_FNC_G_SIMPLEMIDI_source = "grid_lua_src_simplemidi_lua";
|
|
833
837
|
var GRID_LUA_FNC_G_AUTOVALUE_source = "grid_lua_src_autovalue_lua";
|
|
834
|
-
var
|
|
838
|
+
var GRID_LUA_S_TYPE = "System";
|
|
839
|
+
var GRID_LUA_S_META_init = "GRID_LUA_S_TYPE \" = { __index = {type = 'system', post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",}}\"";
|
|
835
840
|
var GRID_ACTIONSTRING_SYSTEM_INIT = "<?lua --[[@cb]] --[[page init]] ?>";
|
|
836
841
|
var GRID_ACTIONSTRING_SYSTEM_MAPMODE = "<?lua --[[@cb]] gpl(gpn()) ?>";
|
|
837
842
|
var GRID_ACTIONSTRING_SYSTEM_MIDIRX = "<?lua --[[@l]] local ch,cmd,param1,param2=midi.ch,midi.cmd,midi.p1,midi.p2 ?>";
|
|
838
843
|
var GRID_ACTIONSTRING_SYSTEM_TIMER = "<?lua --[[@cb]] print('tick') ?>";
|
|
839
|
-
var
|
|
844
|
+
var GRID_LUA_B_TYPE = "Button";
|
|
845
|
+
var GRID_LUA_B_META_init = "GRID_LUA_B_TYPE \" = { __index = {type = 'button', post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() self:\"GRID_LUA_FNC_A_BUTTON_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",\" GRID_LUA_FNC_B_BUTTON_STEP_short \" =function (self) local steps, min, max, value = self:\" GRID_LUA_FNC_B_BUTTON_MODE_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_MIN_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_MAX_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_VALUE_short \"() if steps == 0 then return false end return value // ((max - min) // steps) end,}}\"";
|
|
840
846
|
var GRID_ACTIONSTRING_BUTTON_INIT = "<?lua --[[@cb]] --[[Button Init]] ?>";
|
|
841
847
|
var GRID_ACTIONSTRING_BUTTON_BUTTON = "<?lua --[[@sbc]] self:bmo(0) self:bmi(0) self:bma(127)--[[@sglc]] self:glc(-1,{{-1,-1,-1,1}}) self:glp(-1,-1)--[[@gms]] self:gms(-1,-1,-1,-1) ?>";
|
|
842
848
|
var GRID_UI_ENCODER_INIT_SAMPLES = "2";
|
|
843
|
-
var
|
|
849
|
+
var GRID_LUA_E_TYPE = "Encoder";
|
|
850
|
+
var GRID_LUA_E_META_init = "GRID_LUA_E_TYPE \" = { __index = { type = 'encoder', post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() self:\"GRID_LUA_FNC_A_BUTTON_short\"() self:\"GRID_LUA_FNC_A_ENCODER_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",\" GRID_LUA_FNC_E_BUTTON_STEP_short \" =function (self) local steps, min, max, value = self:\" GRID_LUA_FNC_B_BUTTON_MODE_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_MIN_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_MAX_short \"(), self:\" GRID_LUA_FNC_B_BUTTON_VALUE_short \"() if steps == 0 then return false end return value // ((max - min) // steps) end,}}\"";
|
|
844
851
|
var GRID_ACTIONSTRING_ENCODER_INIT = "<?lua --[[@cb]] --[[Encoder Init]] ?>";
|
|
845
852
|
var GRID_ACTIONSTRING_ENCODER_ENCODER = "<?lua --[[@sec]] self:emo(0) self:ev0(50) self:emi(0) self:ema(127) self:ese(100)--[[@sglc]] self:glc(-1,{{-1,-1,-1,1}}) self:glp(-1,-1)--[[@gms]] self:gms(-1,-1,-1,-1) ?>";
|
|
846
|
-
var
|
|
853
|
+
var GRID_LUA_EP_TYPE = "Endless";
|
|
854
|
+
var GRID_LUA_EP_META_init = "GRID_LUA_EP_TYPE \" = { __index = {type = 'endless', post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() self:\"GRID_LUA_FNC_A_BUTTON_short\"() self:\"GRID_LUA_FNC_A_ENDLESS_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",}}\"";
|
|
847
855
|
var GRID_ACTIONSTRING_ENDLESS_INIT = "<?lua --[[@cb]] --[[Endless Init]] ?>";
|
|
848
856
|
var GRID_ACTIONSTRING_ENDLESS_ENDLESS = "<?lua --[[@sen]] self:epmo(0) self:epv0(50) self:epmi(0) self:epma(127) self:epse(50)--[[@sglc]] self:glc(-1,{{-1,-1,-1,1}}) self:glp(-1,-1)--[[@gms]] self:gms(-1,-1,-1,-1) ?>";
|
|
849
857
|
var GRID_ACTIONSTRING_ENDLESS_BUTTON = "<?lua --[[@sbc]] self:bmo(0) self:bmi(0) self:bma(127)--[[@sglc]] self:glc(-1,{{-1,-1,-1,1}}) self:glp(-1,-1)--[[@gms]] self:gms(-1,-1,-1,-1) ?>";
|
|
850
|
-
var
|
|
858
|
+
var GRID_LUA_P_TYPE = "Potmeter";
|
|
859
|
+
var GRID_LUA_P_META_init = "GRID_LUA_P_TYPE \" = { __index = {type = 'potmeter', post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() self:\"GRID_LUA_FNC_A_POTMETER_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",}}\"";
|
|
851
860
|
var GRID_ACTIONSTRING_POTMETER_INIT = "<?lua --[[@cb]] --[[Potmeter Init]] ?>";
|
|
852
861
|
var GRID_ACTIONSTRING_POTMETER_POTMETER = "<?lua --[[@spc]] self:pmo(7) self:pmi(0) self:pma(127)--[[@sglc]] self:glc(-1,{{-1,-1,-1,1}}) self:glp(-1,-1)--[[@gms]] self:gms(-1,-1,-1,-1) ?>";
|
|
853
862
|
var GRID_LUA_FNC_L_DRAW_SWAP_short = "ldsw";
|
|
@@ -889,7 +898,8 @@ var GRID_LUA_FNC_L_DRAW_AREA_FILLED_usage = "lcd:draw_area_filled(x1, y1, x2, y2
|
|
|
889
898
|
var GRID_LUA_FNC_L_DRAW_DEMO_short = "ldd";
|
|
890
899
|
var GRID_LUA_FNC_L_DRAW_DEMO_human = "draw_demo";
|
|
891
900
|
var GRID_LUA_FNC_L_DRAW_DEMO_usage = "lcd:draw_demo(n) Draws the n-th iteration of the demo.";
|
|
892
|
-
var
|
|
901
|
+
var GRID_LUA_L_TYPE = "Lcd";
|
|
902
|
+
var GRID_LUA_L_META_init = "GRID_LUA_L_TYPE \" = { __index = {type = 'lcd', post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1_RET(\"gen\", GRID_LUA_FNC_G_ELEMENTNAME_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_SWAP_short, GRID_LUA_FNC_G_GUI_DRAW_SWAP_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_PIXEL_short, GRID_LUA_FNC_G_GUI_DRAW_PIXEL_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_LINE_short, GRID_LUA_FNC_G_GUI_DRAW_LINE_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_RECTANGLE_short, GRID_LUA_FNC_G_GUI_DRAW_RECTANGLE_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_RECTANGLE_FILLED_short, GRID_LUA_FNC_G_GUI_DRAW_RECTANGLE_FILLED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_RECTANGLE_ROUNDED_short, GRID_LUA_FNC_G_GUI_DRAW_RECTANGLE_ROUNDED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_RECTANGLE_ROUNDED_FILLED_short, GRID_LUA_FNC_G_GUI_DRAW_RECTANGLE_ROUNDED_FILLED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_POLYGON_short, GRID_LUA_FNC_G_GUI_DRAW_POLYGON_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_POLYGON_FILLED_short, GRID_LUA_FNC_G_GUI_DRAW_POLYGON_FILLED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_TEXT_short, GRID_LUA_FNC_G_GUI_DRAW_TEXT_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_FASTTEXT_short, GRID_LUA_FNC_G_GUI_DRAW_FASTTEXT_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_AREA_FILLED_short, GRID_LUA_FNC_G_GUI_DRAW_AREA_FILLED_short) \",\" GRID_LUA_FNC_ASSIGN_META_DRAW(GRID_LUA_FNC_L_DRAW_DEMO_short, GRID_LUA_FNC_G_GUI_DRAW_DEMO_short) \",}}\"";
|
|
893
903
|
var GRID_ACTIONSTRING_LCD_INIT = "<?lua --[[@cb]] glsb(255)pi,s,c,self.f,self.v,self.id=math.pi,64,{{0,0,0},{255,255,255},{glr(),glg(),glb()}},1,{27,0,100},'VSN1'd={[1]='Linear',[2]='Encoder',[3]='Button',[7]='Endless'}xc,yc,p=160,120,s*5/8;self.eventrx_cb=function(self,hdr,e,v,n)self.v=v;if#n==0 then n=d[e[3]]..e[2]end;self.id=string.sub(n,1,(self:lsw()/(s/2)-1)//1)self.f=1 end;self:ldaf(0,0,319,239,c[1])self:ldrr(3,3,317,237,10,c[2]) ?>";
|
|
894
904
|
var GRID_ACTIONSTRING_LCD_DRAW = "<?lua --[[@cb]] if self.f>0 then self.f=self.f-1;local a,xo=gmaps(self.v[1],self.v[2],self.v[3],0.1,1),#tostring(self.v[1])/2*s/2-#tostring(self.v[1])-s//32;self:ldaf(10,10,310,230,c[1])self:ldrr(xc-p//1-1,yc-p//1-1,xc+p//1+1,yc+p//1+1,s,c[2])self:ldrrf(xc-p*a//1,yc-p*a//1,xc+p*a//1,yc+p*a//1,s,c[3])self:ldft(self.v[1],xc-xo,yc+s,s/2,c[2])local xn=(#self.id*(s/2))/2-s//32;self:ldft(self.id,xc-xn,yc-1.5*s,s/2,c[2])self:ldsw()end ?>";
|
|
895
905
|
var grid_protocol_bot = {
|
|
@@ -1176,26 +1186,30 @@ var grid_protocol_bot = {
|
|
|
1176
1186
|
GRID_LUA_FNC_G_ELEMENT_COUNT_human: GRID_LUA_FNC_G_ELEMENT_COUNT_human,
|
|
1177
1187
|
GRID_LUA_FNC_G_ELEMENT_COUNT_fnptr: GRID_LUA_FNC_G_ELEMENT_COUNT_fnptr,
|
|
1178
1188
|
GRID_LUA_FNC_G_ELEMENT_COUNT_usage: GRID_LUA_FNC_G_ELEMENT_COUNT_usage,
|
|
1189
|
+
GRID_LUA_FNC_G_CALIBRATION_RESET_short: GRID_LUA_FNC_G_CALIBRATION_RESET_short,
|
|
1190
|
+
GRID_LUA_FNC_G_CALIBRATION_RESET_human: GRID_LUA_FNC_G_CALIBRATION_RESET_human,
|
|
1191
|
+
GRID_LUA_FNC_G_CALIBRATION_RESET_fnptr: GRID_LUA_FNC_G_CALIBRATION_RESET_fnptr,
|
|
1192
|
+
GRID_LUA_FNC_G_CALIBRATION_RESET_usage: GRID_LUA_FNC_G_CALIBRATION_RESET_usage,
|
|
1179
1193
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_short: GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_short,
|
|
1180
1194
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_human: GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_human,
|
|
1181
1195
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_fnptr: GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_fnptr,
|
|
1182
1196
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_usage: GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_usage,
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1197
|
+
GRID_LUA_FNC_G_POTMETER_CENTER_SET_short: GRID_LUA_FNC_G_POTMETER_CENTER_SET_short,
|
|
1198
|
+
GRID_LUA_FNC_G_POTMETER_CENTER_SET_human: GRID_LUA_FNC_G_POTMETER_CENTER_SET_human,
|
|
1199
|
+
GRID_LUA_FNC_G_POTMETER_CENTER_SET_fnptr: GRID_LUA_FNC_G_POTMETER_CENTER_SET_fnptr,
|
|
1200
|
+
GRID_LUA_FNC_G_POTMETER_CENTER_SET_usage: GRID_LUA_FNC_G_POTMETER_CENTER_SET_usage,
|
|
1187
1201
|
GRID_LUA_FNC_G_POTMETER_DETENT_SET_short: GRID_LUA_FNC_G_POTMETER_DETENT_SET_short,
|
|
1188
1202
|
GRID_LUA_FNC_G_POTMETER_DETENT_SET_human: GRID_LUA_FNC_G_POTMETER_DETENT_SET_human,
|
|
1189
1203
|
GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr: GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr,
|
|
1190
1204
|
GRID_LUA_FNC_G_POTMETER_DETENT_SET_usage: GRID_LUA_FNC_G_POTMETER_DETENT_SET_usage,
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1205
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_short: GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_short,
|
|
1206
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_human: GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_human,
|
|
1207
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_fnptr: GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_fnptr,
|
|
1208
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_usage: GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_usage,
|
|
1209
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_short: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_short,
|
|
1210
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_human: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_human,
|
|
1211
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_fnptr: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_fnptr,
|
|
1212
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_usage: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_usage,
|
|
1199
1213
|
GRID_LUA_FNC_G_GUI_DRAW_SWAP_short: GRID_LUA_FNC_G_GUI_DRAW_SWAP_short,
|
|
1200
1214
|
GRID_LUA_FNC_G_GUI_DRAW_SWAP_human: GRID_LUA_FNC_G_GUI_DRAW_SWAP_human,
|
|
1201
1215
|
GRID_LUA_FNC_G_GUI_DRAW_SWAP_fnptr: GRID_LUA_FNC_G_GUI_DRAW_SWAP_fnptr,
|
|
@@ -1724,22 +1738,27 @@ var grid_protocol_bot = {
|
|
|
1724
1738
|
GRID_LUA_FNC_G_SIMPLECOLOR_source: GRID_LUA_FNC_G_SIMPLECOLOR_source,
|
|
1725
1739
|
GRID_LUA_FNC_G_SIMPLEMIDI_source: GRID_LUA_FNC_G_SIMPLEMIDI_source,
|
|
1726
1740
|
GRID_LUA_FNC_G_AUTOVALUE_source: GRID_LUA_FNC_G_AUTOVALUE_source,
|
|
1727
|
-
|
|
1741
|
+
GRID_LUA_S_TYPE: GRID_LUA_S_TYPE,
|
|
1742
|
+
GRID_LUA_S_META_init: GRID_LUA_S_META_init,
|
|
1728
1743
|
GRID_ACTIONSTRING_SYSTEM_INIT: GRID_ACTIONSTRING_SYSTEM_INIT,
|
|
1729
1744
|
GRID_ACTIONSTRING_SYSTEM_MAPMODE: GRID_ACTIONSTRING_SYSTEM_MAPMODE,
|
|
1730
1745
|
GRID_ACTIONSTRING_SYSTEM_MIDIRX: GRID_ACTIONSTRING_SYSTEM_MIDIRX,
|
|
1731
1746
|
GRID_ACTIONSTRING_SYSTEM_TIMER: GRID_ACTIONSTRING_SYSTEM_TIMER,
|
|
1747
|
+
GRID_LUA_B_TYPE: GRID_LUA_B_TYPE,
|
|
1732
1748
|
GRID_LUA_B_META_init: GRID_LUA_B_META_init,
|
|
1733
1749
|
GRID_ACTIONSTRING_BUTTON_INIT: GRID_ACTIONSTRING_BUTTON_INIT,
|
|
1734
1750
|
GRID_ACTIONSTRING_BUTTON_BUTTON: GRID_ACTIONSTRING_BUTTON_BUTTON,
|
|
1735
1751
|
GRID_UI_ENCODER_INIT_SAMPLES: GRID_UI_ENCODER_INIT_SAMPLES,
|
|
1752
|
+
GRID_LUA_E_TYPE: GRID_LUA_E_TYPE,
|
|
1736
1753
|
GRID_LUA_E_META_init: GRID_LUA_E_META_init,
|
|
1737
1754
|
GRID_ACTIONSTRING_ENCODER_INIT: GRID_ACTIONSTRING_ENCODER_INIT,
|
|
1738
1755
|
GRID_ACTIONSTRING_ENCODER_ENCODER: GRID_ACTIONSTRING_ENCODER_ENCODER,
|
|
1756
|
+
GRID_LUA_EP_TYPE: GRID_LUA_EP_TYPE,
|
|
1739
1757
|
GRID_LUA_EP_META_init: GRID_LUA_EP_META_init,
|
|
1740
1758
|
GRID_ACTIONSTRING_ENDLESS_INIT: GRID_ACTIONSTRING_ENDLESS_INIT,
|
|
1741
1759
|
GRID_ACTIONSTRING_ENDLESS_ENDLESS: GRID_ACTIONSTRING_ENDLESS_ENDLESS,
|
|
1742
1760
|
GRID_ACTIONSTRING_ENDLESS_BUTTON: GRID_ACTIONSTRING_ENDLESS_BUTTON,
|
|
1761
|
+
GRID_LUA_P_TYPE: GRID_LUA_P_TYPE,
|
|
1743
1762
|
GRID_LUA_P_META_init: GRID_LUA_P_META_init,
|
|
1744
1763
|
GRID_ACTIONSTRING_POTMETER_INIT: GRID_ACTIONSTRING_POTMETER_INIT,
|
|
1745
1764
|
GRID_ACTIONSTRING_POTMETER_POTMETER: GRID_ACTIONSTRING_POTMETER_POTMETER,
|
|
@@ -1782,6 +1801,7 @@ var grid_protocol_bot = {
|
|
|
1782
1801
|
GRID_LUA_FNC_L_DRAW_DEMO_short: GRID_LUA_FNC_L_DRAW_DEMO_short,
|
|
1783
1802
|
GRID_LUA_FNC_L_DRAW_DEMO_human: GRID_LUA_FNC_L_DRAW_DEMO_human,
|
|
1784
1803
|
GRID_LUA_FNC_L_DRAW_DEMO_usage: GRID_LUA_FNC_L_DRAW_DEMO_usage,
|
|
1804
|
+
GRID_LUA_L_TYPE: GRID_LUA_L_TYPE,
|
|
1785
1805
|
GRID_LUA_L_META_init: GRID_LUA_L_META_init,
|
|
1786
1806
|
GRID_ACTIONSTRING_LCD_INIT: GRID_ACTIONSTRING_LCD_INIT,
|
|
1787
1807
|
GRID_ACTIONSTRING_LCD_DRAW: GRID_ACTIONSTRING_LCD_DRAW
|
|
@@ -2096,8 +2116,11 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2096
2116
|
GRID_INSTR_length: GRID_INSTR_length,
|
|
2097
2117
|
GRID_INSTR_offset: GRID_INSTR_offset,
|
|
2098
2118
|
GRID_LUA_B_META_init: GRID_LUA_B_META_init,
|
|
2119
|
+
GRID_LUA_B_TYPE: GRID_LUA_B_TYPE,
|
|
2099
2120
|
GRID_LUA_EP_META_init: GRID_LUA_EP_META_init,
|
|
2121
|
+
GRID_LUA_EP_TYPE: GRID_LUA_EP_TYPE,
|
|
2100
2122
|
GRID_LUA_E_META_init: GRID_LUA_E_META_init,
|
|
2123
|
+
GRID_LUA_E_TYPE: GRID_LUA_E_TYPE,
|
|
2101
2124
|
GRID_LUA_FNC_A_BUTTON_human: GRID_LUA_FNC_A_BUTTON_human,
|
|
2102
2125
|
GRID_LUA_FNC_A_BUTTON_short: GRID_LUA_FNC_A_BUTTON_short,
|
|
2103
2126
|
GRID_LUA_FNC_A_DRAW_human: GRID_LUA_FNC_A_DRAW_human,
|
|
@@ -2255,14 +2278,10 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2255
2278
|
GRID_LUA_FNC_E_LED_INDEX_short: GRID_LUA_FNC_E_LED_INDEX_short,
|
|
2256
2279
|
GRID_LUA_FNC_E_LIST_length: GRID_LUA_FNC_E_LIST_length,
|
|
2257
2280
|
GRID_LUA_FNC_G_AUTOVALUE_source: GRID_LUA_FNC_G_AUTOVALUE_source,
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_fnptr: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_fnptr,
|
|
2263
|
-
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_human: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_human,
|
|
2264
|
-
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_short: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_short,
|
|
2265
|
-
GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_usage: GRID_LUA_FNC_G_BUTTON_CALIBRATION_SET_usage,
|
|
2281
|
+
GRID_LUA_FNC_G_CALIBRATION_RESET_fnptr: GRID_LUA_FNC_G_CALIBRATION_RESET_fnptr,
|
|
2282
|
+
GRID_LUA_FNC_G_CALIBRATION_RESET_human: GRID_LUA_FNC_G_CALIBRATION_RESET_human,
|
|
2283
|
+
GRID_LUA_FNC_G_CALIBRATION_RESET_short: GRID_LUA_FNC_G_CALIBRATION_RESET_short,
|
|
2284
|
+
GRID_LUA_FNC_G_CALIBRATION_RESET_usage: GRID_LUA_FNC_G_CALIBRATION_RESET_usage,
|
|
2266
2285
|
GRID_LUA_FNC_G_DECODE_human: GRID_LUA_FNC_G_DECODE_human,
|
|
2267
2286
|
GRID_LUA_FNC_G_DECODE_short: GRID_LUA_FNC_G_DECODE_short,
|
|
2268
2287
|
GRID_LUA_FNC_G_DECODE_source: GRID_LUA_FNC_G_DECODE_source,
|
|
@@ -2460,10 +2479,10 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2460
2479
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_human: GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_human,
|
|
2461
2480
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_short: GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_short,
|
|
2462
2481
|
GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_usage: GRID_LUA_FNC_G_POTMETER_CALIBRATION_GET_usage,
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2482
|
+
GRID_LUA_FNC_G_POTMETER_CENTER_SET_fnptr: GRID_LUA_FNC_G_POTMETER_CENTER_SET_fnptr,
|
|
2483
|
+
GRID_LUA_FNC_G_POTMETER_CENTER_SET_human: GRID_LUA_FNC_G_POTMETER_CENTER_SET_human,
|
|
2484
|
+
GRID_LUA_FNC_G_POTMETER_CENTER_SET_short: GRID_LUA_FNC_G_POTMETER_CENTER_SET_short,
|
|
2485
|
+
GRID_LUA_FNC_G_POTMETER_CENTER_SET_usage: GRID_LUA_FNC_G_POTMETER_CENTER_SET_usage,
|
|
2467
2486
|
GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr: GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr,
|
|
2468
2487
|
GRID_LUA_FNC_G_POTMETER_DETENT_SET_human: GRID_LUA_FNC_G_POTMETER_DETENT_SET_human,
|
|
2469
2488
|
GRID_LUA_FNC_G_POTMETER_DETENT_SET_short: GRID_LUA_FNC_G_POTMETER_DETENT_SET_short,
|
|
@@ -2471,6 +2490,14 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2471
2490
|
GRID_LUA_FNC_G_RANDOM_fnptr: GRID_LUA_FNC_G_RANDOM_fnptr,
|
|
2472
2491
|
GRID_LUA_FNC_G_RANDOM_human: GRID_LUA_FNC_G_RANDOM_human,
|
|
2473
2492
|
GRID_LUA_FNC_G_RANDOM_short: GRID_LUA_FNC_G_RANDOM_short,
|
|
2493
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_fnptr: GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_fnptr,
|
|
2494
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_human: GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_human,
|
|
2495
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_short: GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_short,
|
|
2496
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_usage: GRID_LUA_FNC_G_RANGE_CALIBRATION_GET_usage,
|
|
2497
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_fnptr: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_fnptr,
|
|
2498
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_human: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_human,
|
|
2499
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_short: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_short,
|
|
2500
|
+
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_usage: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_usage,
|
|
2474
2501
|
GRID_LUA_FNC_G_SEGCALC_human: GRID_LUA_FNC_G_SEGCALC_human,
|
|
2475
2502
|
GRID_LUA_FNC_G_SEGCALC_short: GRID_LUA_FNC_G_SEGCALC_short,
|
|
2476
2503
|
GRID_LUA_FNC_G_SEGCALC_source: GRID_LUA_FNC_G_SEGCALC_source,
|
|
@@ -2591,8 +2618,11 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2591
2618
|
GRID_LUA_KW_ELEMENT_human: GRID_LUA_KW_ELEMENT_human,
|
|
2592
2619
|
GRID_LUA_KW_ELEMENT_short: GRID_LUA_KW_ELEMENT_short,
|
|
2593
2620
|
GRID_LUA_L_META_init: GRID_LUA_L_META_init,
|
|
2621
|
+
GRID_LUA_L_TYPE: GRID_LUA_L_TYPE,
|
|
2594
2622
|
GRID_LUA_P_META_init: GRID_LUA_P_META_init,
|
|
2595
|
-
|
|
2623
|
+
GRID_LUA_P_TYPE: GRID_LUA_P_TYPE,
|
|
2624
|
+
GRID_LUA_S_META_init: GRID_LUA_S_META_init,
|
|
2625
|
+
GRID_LUA_S_TYPE: GRID_LUA_S_TYPE,
|
|
2596
2626
|
GRID_MODULE_BU16_RevB: GRID_MODULE_BU16_RevB,
|
|
2597
2627
|
GRID_MODULE_BU16_RevC: GRID_MODULE_BU16_RevC,
|
|
2598
2628
|
GRID_MODULE_BU16_RevD: GRID_MODULE_BU16_RevD,
|