Here's what I have, it just returns an error saying [LUA] ERROR: Cannot load buffer. [string "LuaMacros script"]:13: unexpected symbol near '):
Code: Select all
lmc_assign_keyboard('EDITER', '238B9097');
lmc_print_devices();
lmc_set_handler('EDITER', function(button,direction)
if (direction == 1) then return end
if (button == 33) then lmc_send_input(32, 0, 0)
if (button == 33) then lmc_send_input(32, 0, 2)
end
end
)
I'm sure there's something I'm doing wrong.