Page 1 of 1

Key repeatition

Posted: Thu Jun 15, 2006 08:47
by guyver6
Hi,

Did someone already looked at the problem of implementing key repeatitions? Ie. when user presses a key and holds it, the system starts repeating it after a while.

Greetings,
Guyver

Posted: Thu Jun 15, 2006 12:51
by lindquist
Nope, this wont be a feature of 0.5, unfortunately.

There's been alot todo and the priority on this has'nt been that great for me, so you will need to setup your own key repeat stuff.

Posted: Thu Jun 15, 2006 14:55
by guyver6
Thanks for the reply.

I was thinking a little about it thou. I found out that there are 2 key input events, KeyDown and KeyUp. That feature would require KeyPressed event, if it would work like Windows. KeyPressed would be the one bearing character and on that one controls would react showing new character, while KeyDown would be only the event of user pressing the key on keyboard down. Then we could repeat KeyPressed events internally until KeyUp is encountered for that key.

EDIT: Me stupid :roll: There is already EventCharacterKey. So let me try this...