Only send a KeyDown or KeyUp event
Posted: 16 Aug 2016, 06:25
Hi!
Luamacros has been a really great tool so far, but I'm wondering if it's possible to only send a KeyDown or KeyUp event, such as the functions TKeySequence.SendKeyDown and TKeySequence.SendKeyUp do in the Pascal source. Would it be possible to access these functions through the Lua editor? I've been having a bit of trouble, as the current implementation of lmc_send_keys seems to depress the key, and then release it immediately after - the application I'm working on needs to preserve the exact key events while only remapping the keys themselves.
Would anyone be able to help with this? It would be amazing if this could be done.
Thanks!
Luamacros has been a really great tool so far, but I'm wondering if it's possible to only send a KeyDown or KeyUp event, such as the functions TKeySequence.SendKeyDown and TKeySequence.SendKeyUp do in the Pascal source. Would it be possible to access these functions through the Lua editor? I've been having a bit of trouble, as the current implementation of lmc_send_keys seems to depress the key, and then release it immediately after - the application I'm working on needs to preserve the exact key events while only remapping the keys themselves.
Would anyone be able to help with this? It would be amazing if this could be done.
Thanks!