bring template-live's protocol in sync with template-live-editor

[?]
Jan 14, 2023, 8:38 PM
JUTECG5XRUNBOJIPKEYZ4I2225AAOCGQKVJN2UAENUBZK2FG2XGAC

Dependencies

  • [2] T3LA4DVG new command: batch GET
  • [3] BKNIUJGY update protocol so driver shows syntax errors
  • [4] TNRO6KLZ new live app
  • [5] BXXTVMBQ better organization of errors

Change contents

  • edit in main.lua at line 164
    [3.4550]
    [3.4550]
    if on.code_change then on.code_change() end
  • replacement in main.lua at line 252
    [2.231][2.231:301]()
    app.send(table.concat(result, '\n--fw: definition boundary--\n'))
    [2.231]
    [3.6689]
    local delimiter = '\n==fw: definition boundary==\n'
    app.send(table.concat(result, delimiter)..delimiter) -- send a final delimiter to simplify the driver's task
  • replacement in main.lua at line 342
    [3.9220][3.9220:9287]()
    if on.keypressed then on.keypressed(key, scancode, isrepeat) end
    [3.9220]
    [3.9287]
    if on.key_press then on.key_press(key, scancode, isrepeat) end
  • replacement in main.lua at line 350
    [3.9464][3.9464:9507]()
    if on.textinput then on.textinput(t) end
    [3.9464]
    [3.9507]
    if on.text_input then on.text_input(t) end
  • replacement in main.lua at line 354
    [3.9563][3.9563:9632]()
    if on.keyreleased then on.keyreleased(key, scancode, isrepeat) end
    [3.9563]
    [3.9632]
    if on.key_release then on.key_release(key, scancode, isrepeat) end
  • replacement in main.lua at line 358
    [3.9683][3.9683:9748]()
    if on.mousepressed then on.mousepressed(x,y, mouse_button) end
    [3.9683]
    [3.9748]
    if on.mouse_press then on.mouse_press(x,y, mouse_button) end
  • replacement in main.lua at line 362
    [3.9800][3.9800:9867]()
    if on.mousereleased then on.mousereleased(x,y, mouse_button) end
    [3.9800]
    [3.9867]
    if on.mouse_release then on.mouse_release(x,y, mouse_button) end