-- Lua (keep this comment, it is an indication for editor's 'run' command)
glo_dialog = {}
glo_dialog.visible = true
glo_dialog.name = 'glo_dialog'
glo_dialog.x ,glo_dialog.y = 200,600
function glo_dialog.draw_window()
imgui.Text("GLO")
for i=530,600 do
if imgui.IsKeyDown(i) then
print(i)
end
end
end
graphite_main_window.add_module(glo_dialog)
Some number keys (first row, not keypad) have weird ids
(reported by @gloook). Use attached Lua code to display them: