diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 20:17:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 20:17:25 +0000 |
commit | 1e88be518adafe146704a506aad7f895fffbb240 (patch) | |
tree | 59de8c14bcec054d32b82890f73391301ad152aa /apps/plugins/sokoban.c | |
parent | 364e892050c5d03895d27ad290180f7a82d0ecbf (diff) |
Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r-- | apps/plugins/sokoban.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index 6dfbdc6df6..06788d4806 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c @@ -102,6 +102,16 @@ extern const fb_data sokoban_tiles[]; #define SOKOBAN_LEVEL_DOWN (BUTTON_POWER | BUTTON_DOWN) #define SOKOBAN_LEVEL_REPEAT BUTTON_SELECT +#elif (CONFIG_KEYPAD == IRIVER_H10_PAD) +#define SOKOBAN_UP BUTTON_SCROLL_UP +#define SOKOBAN_DOWN BUTTON_SCROLL_DOWN +#define SOKOBAN_QUIT BUTTON_POWER +#define SOKOBAN_UNDO_PRE BUTTON_REW +#define SOKOBAN_UNDO (BUTTON_REW | BUTTON_REL) +#define SOKOBAN_LEVEL_UP (BUTTON_PLAY | BUTTON_SCROLL_UP) +#define SOKOBAN_LEVEL_DOWN (BUTTON_PLAY | BUTTON_SCROLL_DOWN) +#define SOKOBAN_LEVEL_REPEAT BUTTON_FF + #endif #ifdef HAVE_LCD_COLOR |