Mercurial > hg > dmlib
changeset 199:623e58df95c1
Enable key repeat in PPL.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 07 Oct 2012 07:02:20 +0300 |
parents | 4568c479541c |
children | b842cc92c787 |
files | ppl.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ppl.c Sat Oct 06 21:21:33 2012 +0300 +++ b/ppl.c Sun Oct 07 07:02:20 2012 +0300 @@ -683,6 +683,7 @@ // okay, main loop here ... "play" module and print out info SDL_PauseAudio(0); + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL); int currTick, prevTick = 0, prevRow = -1;