Mercurial > skaapsteker
diff skaapsteker/__main__.py @ 169:b7a8f4a677e1
Replace key repeating with custom tracking of fast keys.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Wed, 06 Apr 2011 00:41:19 +0200 |
parents | 0ad313ec564d |
children | de60329cfc9f |
line wrap: on
line diff
--- a/skaapsteker/__main__.py Wed Apr 06 00:41:50 2011 +0200 +++ b/skaapsteker/__main__.py Wed Apr 06 00:41:19 2011 +0200 @@ -9,7 +9,6 @@ from . import options from .constants import SCREEN, FREQ, BITSIZE, CHANNELS, BUFFER, DEBUG -from .constants import KEY_REPEAT_DELAY_MS, KEY_REPEAT_INTERVAL_MS from .engine import Engine from .levelscene import LevelScene from .menuscene import MenuScene @@ -55,7 +54,6 @@ #pygame.display.set_icon(pygame.image.load( # data.filepath('icons/nine_tales24x24.png'))) pygame.display.set_caption("Nine Tales") - pygame.key.set_repeat(KEY_REPEAT_DELAY_MS, KEY_REPEAT_INTERVAL_MS) engine = Engine() if level is not None: