@intechstudio/grid-protocol 1.20250709.944 → 1.20250725.1126

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 CHANGED
@@ -278,6 +278,10 @@ var GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_short = "gpcs";
278
278
  var GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_human = "potmeter_calibration_set";
279
279
  var GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_fnptr = "l_grid_potmeter_calibration_set";
280
280
  var GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_usage = "potmeter_calibration_set({ int c1, ... }) Sets potentiometer calibration centers from an array of integers.";
281
+ var GRID_LUA_FNC_G_POTMETER_DETENT_SET_short = "gpds";
282
+ var GRID_LUA_FNC_G_POTMETER_DETENT_SET_human = "potmeter_detent_set";
283
+ var GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr = "l_grid_potmeter_detent_set";
284
+ 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.";
281
285
  var GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_short = "gbcg";
282
286
  var GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_human = "button_calibration_get";
283
287
  var GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_fnptr = "l_grid_button_calibration_get";
@@ -787,6 +791,7 @@ var GRID_LUA_FNC_G_SEGCALC_short = "gsc";
787
791
  var GRID_LUA_FNC_G_SEGCALC_human = "segment_calculate";
788
792
  var GRID_LUA_FNC_G_TOML_source = "grid_lua_src_toml_lua";
789
793
  var GRID_LUA_FNC_G_SIMPLECOLOR_source = "grid_lua_src_simplecolor_lua";
794
+ var GRID_LUA_FNC_G_SIMPLEMIDI_source = "grid_lua_src_simplemidi_lua";
790
795
  var GRID_LUA_SYS_META_init = "system_meta = { __index = {type = 'system', \" GRID_LUA_FNC_ASSIGN_META_GTV(GRID_LUA_FNC_S_ELEMENT_INDEX_short, GRID_LUA_FNC_S_ELEMENT_INDEX_index) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_INIT_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_TIMER_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_MAPMODE_short) \",\" GRID_LUA_FNC_ASSIGN_META_UNDEF(GRID_LUA_FNC_A_MIDIRX_short) \",post_init_cb = function (self) self:\"GRID_LUA_FNC_A_INIT_short\"() end,\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"gtt\", GRID_LUA_FNC_G_TIMER_START_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR0(\"gtp\", GRID_LUA_FNC_G_TIMER_STOP_short) \",\" GRID_LUA_FNC_ASSIGN_META_PAR1(\"get\", GRID_LUA_FNC_G_EVENT_TRIGGER_short) \",}}";
791
796
  var GRID_ACTIONSTRING_SYSTEM_INIT = "<?lua --[[@cb]] --[[page init]] ?>";
792
797
  var GRID_ACTIONSTRING_SYSTEM_MAPMODE = "<?lua --[[@cb]] gpl(gpn()) ?>";
@@ -1127,6 +1132,10 @@ var grid_protocol_bot = {
1127
1132
  GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_human: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_human,
1128
1133
  GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_fnptr: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_fnptr,
1129
1134
  GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_usage: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_usage,
1135
+ GRID_LUA_FNC_G_POTMETER_DETENT_SET_short: GRID_LUA_FNC_G_POTMETER_DETENT_SET_short,
1136
+ GRID_LUA_FNC_G_POTMETER_DETENT_SET_human: GRID_LUA_FNC_G_POTMETER_DETENT_SET_human,
1137
+ GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr: GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr,
1138
+ GRID_LUA_FNC_G_POTMETER_DETENT_SET_usage: GRID_LUA_FNC_G_POTMETER_DETENT_SET_usage,
1130
1139
  GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_short: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_short,
1131
1140
  GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_human: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_human,
1132
1141
  GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_fnptr: GRID_LUA_FNC_G_BUTTON_CALIBRATION_GET_fnptr,
@@ -1636,6 +1645,7 @@ var grid_protocol_bot = {
1636
1645
  GRID_LUA_FNC_G_SEGCALC_human: GRID_LUA_FNC_G_SEGCALC_human,
1637
1646
  GRID_LUA_FNC_G_TOML_source: GRID_LUA_FNC_G_TOML_source,
1638
1647
  GRID_LUA_FNC_G_SIMPLECOLOR_source: GRID_LUA_FNC_G_SIMPLECOLOR_source,
1648
+ GRID_LUA_FNC_G_SIMPLEMIDI_source: GRID_LUA_FNC_G_SIMPLEMIDI_source,
1639
1649
  GRID_LUA_SYS_META_init: GRID_LUA_SYS_META_init,
1640
1650
  GRID_ACTIONSTRING_SYSTEM_INIT: GRID_ACTIONSTRING_SYSTEM_INIT,
1641
1651
  GRID_ACTIONSTRING_SYSTEM_MAPMODE: GRID_ACTIONSTRING_SYSTEM_MAPMODE,
@@ -2339,6 +2349,10 @@ var protocol_data = /*#__PURE__*/Object.freeze({
2339
2349
  GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_human: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_human,
2340
2350
  GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_short: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_short,
2341
2351
  GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_usage: GRID_LUA_FNC_G_POTMETER_CALIBRATION_SET_usage,
2352
+ GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr: GRID_LUA_FNC_G_POTMETER_DETENT_SET_fnptr,
2353
+ GRID_LUA_FNC_G_POTMETER_DETENT_SET_human: GRID_LUA_FNC_G_POTMETER_DETENT_SET_human,
2354
+ GRID_LUA_FNC_G_POTMETER_DETENT_SET_short: GRID_LUA_FNC_G_POTMETER_DETENT_SET_short,
2355
+ GRID_LUA_FNC_G_POTMETER_DETENT_SET_usage: GRID_LUA_FNC_G_POTMETER_DETENT_SET_usage,
2342
2356
  GRID_LUA_FNC_G_RANDOM_fnptr: GRID_LUA_FNC_G_RANDOM_fnptr,
2343
2357
  GRID_LUA_FNC_G_RANDOM_human: GRID_LUA_FNC_G_RANDOM_human,
2344
2358
  GRID_LUA_FNC_G_RANDOM_short: GRID_LUA_FNC_G_RANDOM_short,
@@ -2349,6 +2363,7 @@ var protocol_data = /*#__PURE__*/Object.freeze({
2349
2363
  GRID_LUA_FNC_G_SIGN_short: GRID_LUA_FNC_G_SIGN_short,
2350
2364
  GRID_LUA_FNC_G_SIGN_source: GRID_LUA_FNC_G_SIGN_source,
2351
2365
  GRID_LUA_FNC_G_SIMPLECOLOR_source: GRID_LUA_FNC_G_SIMPLECOLOR_source,
2366
+ GRID_LUA_FNC_G_SIMPLEMIDI_source: GRID_LUA_FNC_G_SIMPLEMIDI_source,
2352
2367
  GRID_LUA_FNC_G_STRING_GET_fnptr: GRID_LUA_FNC_G_STRING_GET_fnptr,
2353
2368
  GRID_LUA_FNC_G_STRING_GET_human: GRID_LUA_FNC_G_STRING_GET_human,
2354
2369
  GRID_LUA_FNC_G_STRING_GET_short: GRID_LUA_FNC_G_STRING_GET_short,