Page 1 of 1
Original key is still sending?
Posted: 28 Aug 2021, 20:10
by Not_Mafia_
So I Am trying to set up a second keyboard with stuff like the f13 - 24 keys and some quick shortcuts. But when I test it out in discord keybinds it still sends the original key and the new key.
Re: Original key is still sending?
Posted: 13 Sep 2021, 14:57
by OzMotherboard
Hi
I'm a newbie and having the same problem ... and hunting for a solution...
my code:
lmc_set_handler('MACROS',function(button, direction)
if (direction == 1) then return end -- ignore down
if (button == string.byte('O')) then lmc_send_keys('...')
elseif (button == string.byte('P')) then lmc_send_keys('....')
--Margin Macros
elseif (button == string.byte('K')) then lmc_send_keys('.....')
elseif (button == string.byte('L')) then lmc_send_keys('......')
my results:
o...p....k.....l......
The o, p, k and l should not appear if they are trapped. But they are. What am I doing wrong.
Thanks in advance.
Re: Original key is still sending?
Posted: 14 Sep 2021, 02:03
by OzMotherboard
To clarify, I found out that within the LuaMacro window the echo wasn't happening.
But in Notepad or any other application, the echo was. Is this supposed to happen?