How to Keep another key with original function?
Posted: 28 Dec 2021, 10:20
I am beginner using LuaMacros,reference with quickstart.lua
so now I just change one KEY, and I want to keep another key with original function
I use "else lmc_send_keys(handler)" but when press another key will sent "NUMBER"
How to keep another key with original function?
Thanks a lot
lmc_set_handler('JIALING',function(button, direction)
if (direction == 1) then return end -- ignore down
if (button == 101) then lmc_send_keys('e')
else lmc_send_keys(button)
end
so now I just change one KEY, and I want to keep another key with original function
I use "else lmc_send_keys(handler)" but when press another key will sent "NUMBER"
How to keep another key with original function?

Thanks a lot
lmc_set_handler('JIALING',function(button, direction)
if (direction == 1) then return end -- ignore down
if (button == 101) then lmc_send_keys('e')
else lmc_send_keys(button)
end