Original key is still sending?

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
Not_Mafia_
Posts: 1
Joined: 28 Aug 2021, 19:36

Original key is still sending?

Post by Not_Mafia_ » 28 Aug 2021, 20:10

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.

OzMotherboard
Posts: 2
Joined: 13 Sep 2021, 14:51

Re: Original key is still sending?

Post by OzMotherboard » 13 Sep 2021, 14:57

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.

OzMotherboard
Posts: 2
Joined: 13 Sep 2021, 14:51

Re: Original key is still sending?

Post by OzMotherboard » 14 Sep 2021, 02:03

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?

Post Reply