From da7528dca1f4ceb15a8d622fc66e5d9ef4e70b00 Mon Sep 17 00:00:00 2001 From: Benjamin Klum Date: Fri, 13 Dec 2024 09:23:44 +0100 Subject: [PATCH] Update keyboard-to-midi.luau Make simple Lua example importable --- .../factory/generic/unsorted/keyboard-to-midi.luau | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/main-presets/factory/generic/unsorted/keyboard-to-midi.luau b/resources/main-presets/factory/generic/unsorted/keyboard-to-midi.luau index ebaefe622..c787e4e68 100644 --- a/resources/main-presets/factory/generic/unsorted/keyboard-to-midi.luau +++ b/resources/main-presets/factory/generic/unsorted/keyboard-to-midi.luau @@ -22,5 +22,8 @@ for i = 0, 7 do end return { - mappings = mappings, + kind = "MainCompartment", + value = { + mappings = mappings, + } }