Original key is still sending?
-
- Posts: 1
- Joined: 28 Aug 2021, 19:36
Original key is still sending?
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.
-
- Posts: 2
- Joined: 13 Sep 2021, 14:51
Re: Original key is still sending?
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.
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.
-
- Posts: 2
- Joined: 13 Sep 2021, 14:51
Re: Original key is still sending?
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?
But in Notepad or any other application, the echo was. Is this supposed to happen?