How to pass keypresses through?

Rats of NIMH! Sorry about that. That’s most likely my fault.

In gui.lua I added a key_handler function and then passed it to show_custom_dialog:

  -- Key handler simply returns any key presses back to Renoise
  local function key_handler(dialog, key)
    return key
  end

  -- `key_handler` added to the tool's main dialog
  dialog = renoise.app():show_custom_dialog (
    "ZynZilla",
    dialog_content, 
    key_handler
  )

end
2 Likes