Bug?: (de)block keyboard action

I have set this up:

Short press "x" = "x"
Long press "x" = block keyboard
Release (after long press) "x" = stop blocking Keyboard

What I type while "x" is down is swallowed, that's how it should be. But when I release "x", "x" is typed.

This is unfavorable. "x" should only be typed when it is pressed alone. In any case, I would prefer that. :slightly_smiling_face:

ah that's true.
For now you can probably add a little "async delay" before the "stop blocking keyboard action to workaround this.

Mm, In this case, the following happens:

I press and hold x, nothing is typed, that is correct.

Now for example, I type 9, now x is typed, not correct :slightly_smiling_face:

I release x, nothing is typed, correct.

ah unfortunately that is a bug / edge case in BTT's keyboard shortcut handling code. I have made a little change in 4.387 (uploading now) which might fix this - I hope it doesn't cause any side effects for other shortcuts.

Now it seems to work perfectly. Let's hope it doesn't have any unexpected effects. Thank you Andreas.