-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Hello,
I have a usecase where I need to execute a sequence indefinitely until a key is pressed. I have no issue having a virtual key do that for a single output key. But as soon as I have a virtual key output several keys, it only plays the sequence once
Working:
ButtonForward >> Virtual1
Virtual1 >> B
Outputs: bbbbbbbbbbbbbbbbbbbbb...
Not Working:
ButtonForward >> Virtual1
Virtual1 >> B C
Outputs: bc
I've also tried using repeat, but it can only repeat it a set amount of time, and can't be interrupted
ButtonForward >> Virtual1
Virtual1 >> repeat[B C, 10]
Outputs: bcbcbcbcbcbcbcbcbcbc
The above were just simple examples. My actual usecase would be to have the arrowUp key pressed for 4 sec, then released for 250ms and pressed again for 4 sec, and so on, indefinitely, with the ability to break the loop with a specific key (ideally, the one used to trigger the sequence in the first place).
I first had this in mind:
ButtonForward{500ms} >> Virtual2
Virtual2 >> ArrowUp{4000ms} 250ms
Virtual2 ButtonForward >> !Virtual2
But as expected, it only triggers the sequence once
I've also tried with several virtual keys calling each other back, and it did looped the sequence, but also blocked every other imput, and leaving me with no choice but to shutdown keymapper with Shift + Escape + K
Is that kind of behaviour achievable in the current version of keymapper, or would it need being implemented first?
If it matters, I'm on Linux Mint, with X11