enable lua

This commit is contained in:
2026-01-15 21:43:17 +01:00
parent 6ad11773dd
commit 5187143445
8 changed files with 58 additions and 8 deletions

9
assets/demo.lua Normal file
View File

@@ -0,0 +1,9 @@
-- Simple button click handler
click_count = 0
function onButtonClick(event)
click_count = click_count + 1
local button = event.current_element
button.inner_rml = "Clicked " .. click_count .. " times!"
print("Button clicked! Count: " .. click_count)
end