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?