diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-27 21:29:07 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-27 21:29:07 +0000 |
commit | d07f61014f59bde2c54cd022c20ad8adf4f5378b (patch) | |
tree | 8a77b44205dd76942718eca2c2b42f9c2cec155c /apps/recorder/tetris.c | |
parent | ce35495aec182530cae9085ecb3a0545f9692253 (diff) |
Now handles key repeat again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1472 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/tetris.c')
-rw-r--r-- | apps/recorder/tetris.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |