Is it possible to NOT repeat a key sequence?

Asked by Crambla

When I set up a sequence of keys with short delays between them, the sequence repeats continuously while the key is pressed. This is useful in many cases, but not when the key toggles a setting as it sometimes gets turned back off again if the key is held down too long. With a short delay between keys, it sometimes runs twice even with a fairly short key press.

Is it possible to configure the sequence as a single shot, so it runs once when the key is pressed, no matter how long it is held down for?

Question information

Language:
English Edit question
Status:
Answered
For:
Pystromo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Raumkraut (raumkraut) said :
#1

Unfortunately this isn't possible with the current implementation.

You may be able to avoid the worst of the side-effects by appending a longer delay at the end of the sequence. That would give you more time to release the key before the sequence restarts. It would also mean that you couldn't re-start the sequence until that final delay is over, though.

Can you help with this problem?

Provide an answer of your own, or ask Crambla for more information if necessary.

To post a message you must log in.