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
How to Keep another key with original function?
-
- Posts: 2
- Joined: 28 Sep 2020, 05:07
Re: How to Keep another key with original function?
Don't handle whole keyboard, just one key - https://github.com/me2d13/luamacros/wiki/Triggers
Petr Medek
LUAmacros author
LUAmacros author