From d07f61014f59bde2c54cd022c20ad8adf4f5378b Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sat, 27 Jul 2002 21:29:07 +0000 Subject: Now handles key repeat again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1472 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/tetris.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/recorder/tetris.c') diff --git a/apps/recorder/tetris.c b/apps/recorder/tetris.c index 84f338ea50..7776f03c3c 100644 --- a/apps/recorder/tetris.c +++ b/apps/recorder/tetris.c @@ -337,18 +337,22 @@ void game_loop(void) return; case BUTTON_UP: + case BUTTON_UP | BUTTON_REPEAT: move_block(0,-3,0); break; case BUTTON_DOWN: + case BUTTON_DOWN | BUTTON_REPEAT: move_block(0,3,0); break; case BUTTON_RIGHT: + case BUTTON_RIGHT | BUTTON_REPEAT: move_block(0,0,1); break; case BUTTON_LEFT: + case BUTTON_LEFT | BUTTON_REPEAT: move_down(); break; } -- cgit v1.2.3