@intechstudio/grid-protocol 1.20260331.1332 → 1.20260428.1020
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 +71 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -206,6 +206,9 @@ var GRID_LUA_FNC_G_RANDOM_fnptr = "l_grid_random8";
|
|
|
206
206
|
var GRID_LUA_FNC_G_HWCFG_short = "ghwcfg";
|
|
207
207
|
var GRID_LUA_FNC_G_HWCFG_human = "hardware_configuration";
|
|
208
208
|
var GRID_LUA_FNC_G_HWCFG_fnptr = "l_grid_hwcfg";
|
|
209
|
+
var GRID_LUA_FNC_G_HWCFG_HAS_LCD_short = "ghaslcd";
|
|
210
|
+
var GRID_LUA_FNC_G_HWCFG_HAS_LCD_human = "hardware_has_lcd";
|
|
211
|
+
var GRID_LUA_FNC_G_HWCFG_HAS_LCD_fnptr = "l_grid_hwcfg_has_lcd";
|
|
209
212
|
var GRID_LUA_FNC_G_VERSION_MAJOR_short = "gvmaj";
|
|
210
213
|
var GRID_LUA_FNC_G_VERSION_MAJOR_human = "version_major";
|
|
211
214
|
var GRID_LUA_FNC_G_VERSION_MAJOR_fnptr = "l_grid_version_major";
|
|
@@ -248,12 +251,13 @@ var GRID_LUA_FNC_G_TIMER_SOURCE_fnptr = "l_grid_timer_source";
|
|
|
248
251
|
var GRID_LUA_FNC_G_EVENT_TRIGGER_short = "get";
|
|
249
252
|
var GRID_LUA_FNC_G_EVENT_TRIGGER_human = "event_trigger";
|
|
250
253
|
var GRID_LUA_FNC_G_EVENT_TRIGGER_fnptr = "l_grid_event_trigger";
|
|
251
|
-
var
|
|
252
|
-
var
|
|
253
|
-
var
|
|
254
|
-
var
|
|
255
|
-
var
|
|
256
|
-
var
|
|
254
|
+
var GRID_LUA_FNC_G_RX_MODE_short = "grxm";
|
|
255
|
+
var GRID_LUA_FNC_G_RX_MODE_human = "rx_mode";
|
|
256
|
+
var GRID_LUA_FNC_G_RX_MODE_usage = "rx_mode(int type [, int mode]) Get or set RX routing. type: 0=MIDIVOICE 1=MIDISYSEX 2=MIDIRTM. mode: bitmask 0x01=handle 0x02=forward";
|
|
257
|
+
var GRID_LUA_FNC_G_RX_MODE_fnptr = "l_grid_rx_mode";
|
|
258
|
+
var GRID_LUA_FNC_G_MIDIRX_REGISTER_short = "gmrr";
|
|
259
|
+
var GRID_LUA_FNC_G_MIDIRX_REGISTER_human = "midirx_register";
|
|
260
|
+
var GRID_LUA_FNC_G_MIDIRX_REGISTER_usage = "midi_rx_register(string event, int channel, int command, int parameter1, table features) Registers a MIDI RX callback on this element. Pass -1 for auto values. features = {bool set_value, bool set_led}";
|
|
257
261
|
var GRID_LUA_FNC_G_ELEMENTNAME_SEND_short = "gens";
|
|
258
262
|
var GRID_LUA_FNC_G_ELEMENTNAME_SEND_human = "element_name_send";
|
|
259
263
|
var GRID_LUA_FNC_G_ELEMENTNAME_SEND_fnptr = "l_grid_elementname_send";
|
|
@@ -370,6 +374,10 @@ var GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_short = "glsb";
|
|
|
370
374
|
var GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_human = "lcd_set_backlight";
|
|
371
375
|
var GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_fnptr = "l_grid_lcd_set_backlight";
|
|
372
376
|
var GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_usage = "lcd_set_backlight(strength) Sets the LCD backlight strength between 0 and 255.";
|
|
377
|
+
var GRID_LUA_FNC_G_ACTION_SET_short = "gas";
|
|
378
|
+
var GRID_LUA_FNC_G_ACTION_SET_human = "action_set";
|
|
379
|
+
var GRID_LUA_FNC_G_ACTION_SET_fnptr = "l_grid_action_set";
|
|
380
|
+
var GRID_LUA_FNC_G_ACTION_SET_usage = "action_set(element, event, path) Sets the script to be executed upon an event for the given element. The path argument should be a path to a file for a custom script, or an empty string for the default script.";
|
|
373
381
|
var GRID_LUA_FNC_B_ELEMENT_INDEX_index = "0";
|
|
374
382
|
var GRID_LUA_FNC_B_ELEMENT_INDEX_short = "ind";
|
|
375
383
|
var GRID_LUA_FNC_B_ELEMENT_INDEX_human = "element_index";
|
|
@@ -592,6 +600,10 @@ var GRID_CLASS_MIDISYSEX_LENGTH_offset = "5";
|
|
|
592
600
|
var GRID_CLASS_MIDISYSEX_LENGTH_length = "4";
|
|
593
601
|
var GRID_CLASS_MIDISYSEX_PAYLOAD_offset = "9";
|
|
594
602
|
var GRID_CLASS_MIDISYSEX_PAYLOAD_length = "2";
|
|
603
|
+
var GRID_CLASS_MIDIRTM_code = "0x002";
|
|
604
|
+
var GRID_CLASS_MIDIRTM_frame = "\"%c%03x...%c\", GRID_CONST_STX, GRID_CLASS_MIDIRTM_code, GRID_CONST_ETX";
|
|
605
|
+
var GRID_CLASS_MIDIRTM_BYTE_offset = "5";
|
|
606
|
+
var GRID_CLASS_MIDIRTM_BYTE_length = "2";
|
|
595
607
|
var GRID_CLASS_HEARTBEAT_code = "0x010";
|
|
596
608
|
var GRID_CLASS_HEARTBEAT_frame = "\"%c%03x_..............%c\", GRID_CONST_STX, GRID_CLASS_HEARTBEAT_code, GRID_CONST_ETX";
|
|
597
609
|
var GRID_CLASS_HEARTBEAT_TYPE_offset = "5";
|
|
@@ -834,29 +846,29 @@ var GRID_CLASS_HIDGAMEPADBUTTON_STATE_offset = "7";
|
|
|
834
846
|
var GRID_CLASS_HIDGAMEPADBUTTON_STATE_length = "2";
|
|
835
847
|
var GRID_LUA_S_TYPE = "System";
|
|
836
848
|
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) \",}}\"";
|
|
837
|
-
var GRID_ACTIONSTRING_SYSTEM_INIT = "
|
|
838
|
-
var GRID_ACTIONSTRING_SYSTEM_MAPMODE = "
|
|
839
|
-
var GRID_ACTIONSTRING_SYSTEM_TIMER = "
|
|
849
|
+
var GRID_ACTIONSTRING_SYSTEM_INIT = "--[[@cb]]--[[page init]]";
|
|
850
|
+
var GRID_ACTIONSTRING_SYSTEM_MAPMODE = "--[[@cb]]gpl(gpn())";
|
|
851
|
+
var GRID_ACTIONSTRING_SYSTEM_TIMER = "--[[@cb]]print(\\\"tick\\\")";
|
|
840
852
|
var GRID_BUTTON_THRESHOLD = "0.5";
|
|
841
853
|
var GRID_BUTTON_HYSTERESIS = "0.2";
|
|
842
854
|
var GRID_LUA_B_TYPE = "Button";
|
|
843
855
|
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,}}\"";
|
|
844
|
-
var GRID_ACTIONSTRING_BUTTON_INIT = "
|
|
845
|
-
var GRID_ACTIONSTRING_BUTTON_BUTTON = "
|
|
856
|
+
var GRID_ACTIONSTRING_BUTTON_INIT = "--[[@cb]]--[[Button Init]]";
|
|
857
|
+
var GRID_ACTIONSTRING_BUTTON_BUTTON = "--[[@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)";
|
|
846
858
|
var GRID_UI_ENCODER_INIT_SAMPLES = "2";
|
|
847
859
|
var GRID_LUA_E_TYPE = "Encoder";
|
|
848
860
|
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_E_BUTTON_MODE_short \"(), self:\" GRID_LUA_FNC_E_BUTTON_MIN_short \"(), self:\" GRID_LUA_FNC_E_BUTTON_MAX_short \"(), self:\" GRID_LUA_FNC_E_BUTTON_VALUE_short \"() if steps == 0 then return false end return value // ((max - min) // steps) end,}}\"";
|
|
849
|
-
var GRID_ACTIONSTRING_ENCODER_INIT = "
|
|
850
|
-
var GRID_ACTIONSTRING_ENCODER_ENCODER = "
|
|
861
|
+
var GRID_ACTIONSTRING_ENCODER_INIT = "--[[@cb]]--[[Encoder Init]]";
|
|
862
|
+
var GRID_ACTIONSTRING_ENCODER_ENCODER = "--[[@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)";
|
|
851
863
|
var GRID_LUA_EP_TYPE = "Endless";
|
|
852
864
|
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) \",\" GRID_LUA_FNC_EP_BUTTON_STEP_short \" =function (self) local steps, min, max, value = self:\" GRID_LUA_FNC_EP_BUTTON_MODE_short \"(), self:\" GRID_LUA_FNC_EP_BUTTON_MIN_short \"(), self:\" GRID_LUA_FNC_EP_BUTTON_MAX_short \"(), self:\" GRID_LUA_FNC_EP_BUTTON_VALUE_short \"() if steps == 0 then return false end return value // ((max - min) // steps) end,}}\"";
|
|
853
|
-
var GRID_ACTIONSTRING_ENDLESS_INIT = "
|
|
854
|
-
var GRID_ACTIONSTRING_ENDLESS_ENDLESS = "
|
|
855
|
-
var GRID_ACTIONSTRING_ENDLESS_BUTTON = "
|
|
865
|
+
var GRID_ACTIONSTRING_ENDLESS_INIT = "--[[@cb]]--[[Endless Init]]";
|
|
866
|
+
var GRID_ACTIONSTRING_ENDLESS_ENDLESS = "--[[@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)";
|
|
867
|
+
var GRID_ACTIONSTRING_ENDLESS_BUTTON = "--[[@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)";
|
|
856
868
|
var GRID_LUA_P_TYPE = "Potmeter";
|
|
857
869
|
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) \",}}\"";
|
|
858
|
-
var GRID_ACTIONSTRING_POTMETER_INIT = "
|
|
859
|
-
var GRID_ACTIONSTRING_POTMETER_POTMETER = "
|
|
870
|
+
var GRID_ACTIONSTRING_POTMETER_INIT = "--[[@cb]]--[[Potmeter Init]]";
|
|
871
|
+
var GRID_ACTIONSTRING_POTMETER_POTMETER = "--[[@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)";
|
|
860
872
|
var GRID_LUA_FNC_L_DRAW_SWAP_short = "ldsw";
|
|
861
873
|
var GRID_LUA_FNC_L_DRAW_SWAP_human = "draw_swap";
|
|
862
874
|
var GRID_LUA_FNC_L_DRAW_SWAP_usage = "lcd:draw_swap() Updates the screen with the contents of the background buffer.";
|
|
@@ -901,8 +913,8 @@ var GRID_LUA_FNC_L_GET_RENDER_TIME_human = "get_render_time";
|
|
|
901
913
|
var GRID_LUA_FNC_L_GET_RENDER_TIME_usage = "lcd:get_render_time() Returns the time spent rendering between the last two swaps, in microseconds.";
|
|
902
914
|
var GRID_LUA_L_TYPE = "Lcd";
|
|
903
915
|
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) \",}}\"";
|
|
904
|
-
var GRID_ACTIONSTRING_LCD_INIT = "
|
|
905
|
-
var GRID_ACTIONSTRING_LCD_DRAW = "
|
|
916
|
+
var GRID_ACTIONSTRING_LCD_INIT = "--[[@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 and d[e[3]]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])";
|
|
917
|
+
var GRID_ACTIONSTRING_LCD_DRAW = "--[[@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";
|
|
906
918
|
var GRID_LUA_FNC_G_DECODE_source = "common_src_lua_decode_lua";
|
|
907
919
|
var GRID_LUA_FNC_G_DECODE_short = "gdec";
|
|
908
920
|
var GRID_LUA_FNC_G_DECODE_human = "decode";
|
|
@@ -913,6 +925,7 @@ var GRID_LUA_FNC_G_ELEMENTNAME_source = "common_src_lua_elementname_lua";
|
|
|
913
925
|
var GRID_LUA_FNC_G_ELEMENTNAME_short = "gen";
|
|
914
926
|
var GRID_LUA_FNC_G_ELEMENTNAME_human = "element_name";
|
|
915
927
|
var GRID_LUA_FNC_G_EVENTFNAME_source = "common_src_lua_eventfname_lua";
|
|
928
|
+
var GRID_LUA_FNC_G_INIT_source = "common_src_lua_init_lua";
|
|
916
929
|
var GRID_LUA_FNC_G_LIMIT_source = "common_src_lua_limit_lua";
|
|
917
930
|
var GRID_LUA_FNC_G_LIMIT_short = "glim";
|
|
918
931
|
var GRID_LUA_FNC_G_LIMIT_human = "limit";
|
|
@@ -1156,6 +1169,9 @@ var grid_protocol_bot = {
|
|
|
1156
1169
|
GRID_LUA_FNC_G_HWCFG_short: GRID_LUA_FNC_G_HWCFG_short,
|
|
1157
1170
|
GRID_LUA_FNC_G_HWCFG_human: GRID_LUA_FNC_G_HWCFG_human,
|
|
1158
1171
|
GRID_LUA_FNC_G_HWCFG_fnptr: GRID_LUA_FNC_G_HWCFG_fnptr,
|
|
1172
|
+
GRID_LUA_FNC_G_HWCFG_HAS_LCD_short: GRID_LUA_FNC_G_HWCFG_HAS_LCD_short,
|
|
1173
|
+
GRID_LUA_FNC_G_HWCFG_HAS_LCD_human: GRID_LUA_FNC_G_HWCFG_HAS_LCD_human,
|
|
1174
|
+
GRID_LUA_FNC_G_HWCFG_HAS_LCD_fnptr: GRID_LUA_FNC_G_HWCFG_HAS_LCD_fnptr,
|
|
1159
1175
|
GRID_LUA_FNC_G_VERSION_MAJOR_short: GRID_LUA_FNC_G_VERSION_MAJOR_short,
|
|
1160
1176
|
GRID_LUA_FNC_G_VERSION_MAJOR_human: GRID_LUA_FNC_G_VERSION_MAJOR_human,
|
|
1161
1177
|
GRID_LUA_FNC_G_VERSION_MAJOR_fnptr: GRID_LUA_FNC_G_VERSION_MAJOR_fnptr,
|
|
@@ -1198,12 +1214,13 @@ var grid_protocol_bot = {
|
|
|
1198
1214
|
GRID_LUA_FNC_G_EVENT_TRIGGER_short: GRID_LUA_FNC_G_EVENT_TRIGGER_short,
|
|
1199
1215
|
GRID_LUA_FNC_G_EVENT_TRIGGER_human: GRID_LUA_FNC_G_EVENT_TRIGGER_human,
|
|
1200
1216
|
GRID_LUA_FNC_G_EVENT_TRIGGER_fnptr: GRID_LUA_FNC_G_EVENT_TRIGGER_fnptr,
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1217
|
+
GRID_LUA_FNC_G_RX_MODE_short: GRID_LUA_FNC_G_RX_MODE_short,
|
|
1218
|
+
GRID_LUA_FNC_G_RX_MODE_human: GRID_LUA_FNC_G_RX_MODE_human,
|
|
1219
|
+
GRID_LUA_FNC_G_RX_MODE_usage: GRID_LUA_FNC_G_RX_MODE_usage,
|
|
1220
|
+
GRID_LUA_FNC_G_RX_MODE_fnptr: GRID_LUA_FNC_G_RX_MODE_fnptr,
|
|
1221
|
+
GRID_LUA_FNC_G_MIDIRX_REGISTER_short: GRID_LUA_FNC_G_MIDIRX_REGISTER_short,
|
|
1222
|
+
GRID_LUA_FNC_G_MIDIRX_REGISTER_human: GRID_LUA_FNC_G_MIDIRX_REGISTER_human,
|
|
1223
|
+
GRID_LUA_FNC_G_MIDIRX_REGISTER_usage: GRID_LUA_FNC_G_MIDIRX_REGISTER_usage,
|
|
1207
1224
|
GRID_LUA_FNC_G_ELEMENTNAME_SEND_short: GRID_LUA_FNC_G_ELEMENTNAME_SEND_short,
|
|
1208
1225
|
GRID_LUA_FNC_G_ELEMENTNAME_SEND_human: GRID_LUA_FNC_G_ELEMENTNAME_SEND_human,
|
|
1209
1226
|
GRID_LUA_FNC_G_ELEMENTNAME_SEND_fnptr: GRID_LUA_FNC_G_ELEMENTNAME_SEND_fnptr,
|
|
@@ -1320,6 +1337,10 @@ var grid_protocol_bot = {
|
|
|
1320
1337
|
GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_human: GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_human,
|
|
1321
1338
|
GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_fnptr: GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_fnptr,
|
|
1322
1339
|
GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_usage: GRID_LUA_FNC_G_LCD_SET_BACKLIGHT_usage,
|
|
1340
|
+
GRID_LUA_FNC_G_ACTION_SET_short: GRID_LUA_FNC_G_ACTION_SET_short,
|
|
1341
|
+
GRID_LUA_FNC_G_ACTION_SET_human: GRID_LUA_FNC_G_ACTION_SET_human,
|
|
1342
|
+
GRID_LUA_FNC_G_ACTION_SET_fnptr: GRID_LUA_FNC_G_ACTION_SET_fnptr,
|
|
1343
|
+
GRID_LUA_FNC_G_ACTION_SET_usage: GRID_LUA_FNC_G_ACTION_SET_usage,
|
|
1323
1344
|
GRID_LUA_FNC_B_ELEMENT_INDEX_index: GRID_LUA_FNC_B_ELEMENT_INDEX_index,
|
|
1324
1345
|
GRID_LUA_FNC_B_ELEMENT_INDEX_short: GRID_LUA_FNC_B_ELEMENT_INDEX_short,
|
|
1325
1346
|
GRID_LUA_FNC_B_ELEMENT_INDEX_human: GRID_LUA_FNC_B_ELEMENT_INDEX_human,
|
|
@@ -1542,6 +1563,10 @@ var grid_protocol_bot = {
|
|
|
1542
1563
|
GRID_CLASS_MIDISYSEX_LENGTH_length: GRID_CLASS_MIDISYSEX_LENGTH_length,
|
|
1543
1564
|
GRID_CLASS_MIDISYSEX_PAYLOAD_offset: GRID_CLASS_MIDISYSEX_PAYLOAD_offset,
|
|
1544
1565
|
GRID_CLASS_MIDISYSEX_PAYLOAD_length: GRID_CLASS_MIDISYSEX_PAYLOAD_length,
|
|
1566
|
+
GRID_CLASS_MIDIRTM_code: GRID_CLASS_MIDIRTM_code,
|
|
1567
|
+
GRID_CLASS_MIDIRTM_frame: GRID_CLASS_MIDIRTM_frame,
|
|
1568
|
+
GRID_CLASS_MIDIRTM_BYTE_offset: GRID_CLASS_MIDIRTM_BYTE_offset,
|
|
1569
|
+
GRID_CLASS_MIDIRTM_BYTE_length: GRID_CLASS_MIDIRTM_BYTE_length,
|
|
1545
1570
|
GRID_CLASS_HEARTBEAT_code: GRID_CLASS_HEARTBEAT_code,
|
|
1546
1571
|
GRID_CLASS_HEARTBEAT_frame: GRID_CLASS_HEARTBEAT_frame,
|
|
1547
1572
|
GRID_CLASS_HEARTBEAT_TYPE_offset: GRID_CLASS_HEARTBEAT_TYPE_offset,
|
|
@@ -1863,6 +1888,7 @@ var grid_protocol_bot = {
|
|
|
1863
1888
|
GRID_LUA_FNC_G_ELEMENTNAME_short: GRID_LUA_FNC_G_ELEMENTNAME_short,
|
|
1864
1889
|
GRID_LUA_FNC_G_ELEMENTNAME_human: GRID_LUA_FNC_G_ELEMENTNAME_human,
|
|
1865
1890
|
GRID_LUA_FNC_G_EVENTFNAME_source: GRID_LUA_FNC_G_EVENTFNAME_source,
|
|
1891
|
+
GRID_LUA_FNC_G_INIT_source: GRID_LUA_FNC_G_INIT_source,
|
|
1866
1892
|
GRID_LUA_FNC_G_LIMIT_source: GRID_LUA_FNC_G_LIMIT_source,
|
|
1867
1893
|
GRID_LUA_FNC_G_LIMIT_short: GRID_LUA_FNC_G_LIMIT_short,
|
|
1868
1894
|
GRID_LUA_FNC_G_LIMIT_human: GRID_LUA_FNC_G_LIMIT_human,
|
|
@@ -2123,6 +2149,10 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2123
2149
|
GRID_CLASS_LEDPREVIEW_frame: GRID_CLASS_LEDPREVIEW_frame,
|
|
2124
2150
|
GRID_CLASS_LEDPREVIEW_frame_end: GRID_CLASS_LEDPREVIEW_frame_end,
|
|
2125
2151
|
GRID_CLASS_LEDPREVIEW_frame_start: GRID_CLASS_LEDPREVIEW_frame_start,
|
|
2152
|
+
GRID_CLASS_MIDIRTM_BYTE_length: GRID_CLASS_MIDIRTM_BYTE_length,
|
|
2153
|
+
GRID_CLASS_MIDIRTM_BYTE_offset: GRID_CLASS_MIDIRTM_BYTE_offset,
|
|
2154
|
+
GRID_CLASS_MIDIRTM_code: GRID_CLASS_MIDIRTM_code,
|
|
2155
|
+
GRID_CLASS_MIDIRTM_frame: GRID_CLASS_MIDIRTM_frame,
|
|
2126
2156
|
GRID_CLASS_MIDISYSEX_LENGTH_length: GRID_CLASS_MIDISYSEX_LENGTH_length,
|
|
2127
2157
|
GRID_CLASS_MIDISYSEX_LENGTH_offset: GRID_CLASS_MIDISYSEX_LENGTH_offset,
|
|
2128
2158
|
GRID_CLASS_MIDISYSEX_PAYLOAD_length: GRID_CLASS_MIDISYSEX_PAYLOAD_length,
|
|
@@ -2389,6 +2419,10 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2389
2419
|
GRID_LUA_FNC_E_LED_INDEX_index: GRID_LUA_FNC_E_LED_INDEX_index,
|
|
2390
2420
|
GRID_LUA_FNC_E_LED_INDEX_short: GRID_LUA_FNC_E_LED_INDEX_short,
|
|
2391
2421
|
GRID_LUA_FNC_E_LIST_length: GRID_LUA_FNC_E_LIST_length,
|
|
2422
|
+
GRID_LUA_FNC_G_ACTION_SET_fnptr: GRID_LUA_FNC_G_ACTION_SET_fnptr,
|
|
2423
|
+
GRID_LUA_FNC_G_ACTION_SET_human: GRID_LUA_FNC_G_ACTION_SET_human,
|
|
2424
|
+
GRID_LUA_FNC_G_ACTION_SET_short: GRID_LUA_FNC_G_ACTION_SET_short,
|
|
2425
|
+
GRID_LUA_FNC_G_ACTION_SET_usage: GRID_LUA_FNC_G_ACTION_SET_usage,
|
|
2392
2426
|
GRID_LUA_FNC_G_AUTOVALUE_source: GRID_LUA_FNC_G_AUTOVALUE_source,
|
|
2393
2427
|
GRID_LUA_FNC_G_CALIBRATION_RESET_fnptr: GRID_LUA_FNC_G_CALIBRATION_RESET_fnptr,
|
|
2394
2428
|
GRID_LUA_FNC_G_CALIBRATION_RESET_human: GRID_LUA_FNC_G_CALIBRATION_RESET_human,
|
|
@@ -2494,6 +2528,9 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2494
2528
|
GRID_LUA_FNC_G_GUI_GET_RENDER_TIME_human: GRID_LUA_FNC_G_GUI_GET_RENDER_TIME_human,
|
|
2495
2529
|
GRID_LUA_FNC_G_GUI_GET_RENDER_TIME_short: GRID_LUA_FNC_G_GUI_GET_RENDER_TIME_short,
|
|
2496
2530
|
GRID_LUA_FNC_G_GUI_GET_RENDER_TIME_usage: GRID_LUA_FNC_G_GUI_GET_RENDER_TIME_usage,
|
|
2531
|
+
GRID_LUA_FNC_G_HWCFG_HAS_LCD_fnptr: GRID_LUA_FNC_G_HWCFG_HAS_LCD_fnptr,
|
|
2532
|
+
GRID_LUA_FNC_G_HWCFG_HAS_LCD_human: GRID_LUA_FNC_G_HWCFG_HAS_LCD_human,
|
|
2533
|
+
GRID_LUA_FNC_G_HWCFG_HAS_LCD_short: GRID_LUA_FNC_G_HWCFG_HAS_LCD_short,
|
|
2497
2534
|
GRID_LUA_FNC_G_HWCFG_fnptr: GRID_LUA_FNC_G_HWCFG_fnptr,
|
|
2498
2535
|
GRID_LUA_FNC_G_HWCFG_human: GRID_LUA_FNC_G_HWCFG_human,
|
|
2499
2536
|
GRID_LUA_FNC_G_HWCFG_short: GRID_LUA_FNC_G_HWCFG_short,
|
|
@@ -2501,6 +2538,7 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2501
2538
|
GRID_LUA_FNC_G_IMMEDIATE_SEND_human: GRID_LUA_FNC_G_IMMEDIATE_SEND_human,
|
|
2502
2539
|
GRID_LUA_FNC_G_IMMEDIATE_SEND_short: GRID_LUA_FNC_G_IMMEDIATE_SEND_short,
|
|
2503
2540
|
GRID_LUA_FNC_G_IMMEDIATE_SEND_usage: GRID_LUA_FNC_G_IMMEDIATE_SEND_usage,
|
|
2541
|
+
GRID_LUA_FNC_G_INIT_source: GRID_LUA_FNC_G_INIT_source,
|
|
2504
2542
|
GRID_LUA_FNC_G_KEYBOARD_SEND_fnptr: GRID_LUA_FNC_G_KEYBOARD_SEND_fnptr,
|
|
2505
2543
|
GRID_LUA_FNC_G_KEYBOARD_SEND_human: GRID_LUA_FNC_G_KEYBOARD_SEND_human,
|
|
2506
2544
|
GRID_LUA_FNC_G_KEYBOARD_SEND_short: GRID_LUA_FNC_G_KEYBOARD_SEND_short,
|
|
@@ -2557,12 +2595,9 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2557
2595
|
GRID_LUA_FNC_G_MAPSAT_human: GRID_LUA_FNC_G_MAPSAT_human,
|
|
2558
2596
|
GRID_LUA_FNC_G_MAPSAT_short: GRID_LUA_FNC_G_MAPSAT_short,
|
|
2559
2597
|
GRID_LUA_FNC_G_MAPSAT_source: GRID_LUA_FNC_G_MAPSAT_source,
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
GRID_LUA_FNC_G_MIDIRX_SYNC_fnptr: GRID_LUA_FNC_G_MIDIRX_SYNC_fnptr,
|
|
2564
|
-
GRID_LUA_FNC_G_MIDIRX_SYNC_human: GRID_LUA_FNC_G_MIDIRX_SYNC_human,
|
|
2565
|
-
GRID_LUA_FNC_G_MIDIRX_SYNC_short: GRID_LUA_FNC_G_MIDIRX_SYNC_short,
|
|
2598
|
+
GRID_LUA_FNC_G_MIDIRX_REGISTER_human: GRID_LUA_FNC_G_MIDIRX_REGISTER_human,
|
|
2599
|
+
GRID_LUA_FNC_G_MIDIRX_REGISTER_short: GRID_LUA_FNC_G_MIDIRX_REGISTER_short,
|
|
2600
|
+
GRID_LUA_FNC_G_MIDIRX_REGISTER_usage: GRID_LUA_FNC_G_MIDIRX_REGISTER_usage,
|
|
2566
2601
|
GRID_LUA_FNC_G_MIDISYSEX_SEND_fnptr: GRID_LUA_FNC_G_MIDISYSEX_SEND_fnptr,
|
|
2567
2602
|
GRID_LUA_FNC_G_MIDISYSEX_SEND_human: GRID_LUA_FNC_G_MIDISYSEX_SEND_human,
|
|
2568
2603
|
GRID_LUA_FNC_G_MIDISYSEX_SEND_short: GRID_LUA_FNC_G_MIDISYSEX_SEND_short,
|
|
@@ -2635,6 +2670,10 @@ var protocol_data = /*#__PURE__*/Object.freeze({
|
|
|
2635
2670
|
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_human: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_human,
|
|
2636
2671
|
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_short: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_short,
|
|
2637
2672
|
GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_usage: GRID_LUA_FNC_G_RANGE_CALIBRATION_SET_usage,
|
|
2673
|
+
GRID_LUA_FNC_G_RX_MODE_fnptr: GRID_LUA_FNC_G_RX_MODE_fnptr,
|
|
2674
|
+
GRID_LUA_FNC_G_RX_MODE_human: GRID_LUA_FNC_G_RX_MODE_human,
|
|
2675
|
+
GRID_LUA_FNC_G_RX_MODE_short: GRID_LUA_FNC_G_RX_MODE_short,
|
|
2676
|
+
GRID_LUA_FNC_G_RX_MODE_usage: GRID_LUA_FNC_G_RX_MODE_usage,
|
|
2638
2677
|
GRID_LUA_FNC_G_SEGCALC_human: GRID_LUA_FNC_G_SEGCALC_human,
|
|
2639
2678
|
GRID_LUA_FNC_G_SEGCALC_short: GRID_LUA_FNC_G_SEGCALC_short,
|
|
2640
2679
|
GRID_LUA_FNC_G_SEGCALC_source: GRID_LUA_FNC_G_SEGCALC_source,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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