diff options
| author | Zakk Roberts <midkay@rockbox.org> | 2007-02-21 22:48:44 +0000 |
|---|---|---|
| committer | Zakk Roberts <midkay@rockbox.org> | 2007-02-21 22:48:44 +0000 |
| commit | a45e835d7523ae3de6431d9015909390f41819a3 (patch) | |
| tree | 0b828580416a58f48d2274797e08dda8394b9f5a | |
| parent | f05b9e3bd560b897fd9d10e6206024dce78497cf (diff) | |
| download | rockbox-a45e835d7523ae3de6431d9015909390f41819a3.zip rockbox-a45e835d7523ae3de6431d9015909390f41819a3.tar.gz rockbox-a45e835d7523ae3de6431d9015909390f41819a3.tar.bz2 rockbox-a45e835d7523ae3de6431d9015909390f41819a3.tar.xz | |
Allow button repeat events in the Brickmania main menu. Makes it easier to scroll through the options on iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12443 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/plugins/brickmania.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 110bac0..c88ee77 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -1028,6 +1028,7 @@ int game_menu(int when) button = rb->button_get(true); switch(button) { case UP: + case UP | BUTTON_REPEAT: if (cur==0) cur = MENU_LENGTH-1; else @@ -1038,6 +1039,7 @@ int game_menu(int when) break; case DOWN: + case DOWN | BUTTON_REPEAT: if (cur==MENU_LENGTH-1) cur = 0; else |