Page 1 of 1

Pass keypress without any manipulation

Posted: 07 Jun 2018, 22:03
by marce
Hey,

is there a way to pass the keys as is?

I found this method: lmc_send_input(button, 0, 0) but it behaves weird like backspace, shift combinations and so on.

It should feel like there is no luamacro between input and output.

I scanned roughly the forum topics, but didnt find a matching topic.

Hope you can help.

-marce

Re: Pass keypress without any manipulation

Posted: 08 Jun 2018, 07:58
by admin
There is no such available command in lua.
What you can do is not define callback for whole device but only for specific keys/buttons. Then othe keys are not affected.
You can define such specific callback function using:

lmc_set_handler(name_of_device,key_number,direction_0_is_up_and_1_is_down,callback_function)

Re: Pass keypress without any manipulation

Posted: 08 Jun 2018, 10:22
by marce
Thanks for the answer.

I found that option too, but the problem is that i cant stop keypresses. For example: i type on keyboard one and if i change to keyboard two, the first keypress should be delayed and a macro should be executed.

If i limit the handler to specific keys, i cant do that.

Thanks anyways :D You support this forum very well.

But i think i have to search for another software solution, that is positioned between keyboard and windows.