EVENT_KEYREPEAT?

BlitzMax Forums/BlitzMax Programming/EVENT_KEYREPEAT?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

KeyChar: data=103, mods=0, x=0, y=0, extra=""
KeyRepeat: data=71, mods=0, x=0, y=0, extra=""

I get these two events when I pressed a key and held it down. There is no key repeat event in the BlitzMax documentation. Alternatively sometimes I see a KeyDown event, then a KeyRepeat, then a KeyUp.

Is there such a thing as EVENT_KEYREPEAT, and if not what should its value be?

How should I interpret key repeats? Should I take the prior character or key down that was pressed, then when a key repeat comes I should start inventing keypresses (post event?) until I see a key up event? Or does some part of the key repeat code include how many times to repeat?