IE_Repeat stops upon press of another key

Not quite sure if this is a bug or if I’m misunderstanding IE_Repeat, but here’s situation:

I want to do something as long as a key is held down. Currently I’m putting my code in a delegate bound to an action mapping, using IE_Repeat as KeyEvent. Let’s pretend bound key is Q.

problem is that when I press a key besides Q, while still holding down Q, delegate is no longer called. It also doesn’t get called if I press that other key before my Q keypress is sensed as IE_Repeat. My assumption about IE_Repeat was that delegate would fire as long as bound key was still being pressed, regardless of participation of other keys, hence the ‘repeat’ in name. Apparently this is false (couldn’t find any docs on this).

Is this a bug? If not (or as a temporary solution if yes), what am I supposed to be doing to fire a function as long as a button is held down, regardless of interruptions?

Hi sgp,

Thanks for report! I’ve assigned a member of our support team to look into this issue, and they’ll post here if they need any additional information.

Hey sgp-

This is intended functionality. Similarly to holding a key why typing in a text field, pressing another key will interrupt key being held. You can get functionality you’re after by setting key press/release events for a key rather than repeat. on press event you set a boolean to true and on release set it to false. Then you can call functionality on tick based on that boolean value. Doing this you can get continue input from holding key even if other keys are pressed.

Cheers