summaryrefslogtreecommitdiff
path: root/apps/plugins/sokoban.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-04 12:41:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-04 12:41:09 +0000
commit6700ad8f206d0beba92e22680504ae6ba2b7d74c (patch)
tree1eba76a3a966d2a38e1819157917918b7721ff0b /apps/plugins/sokoban.c
parent3fcfdffe88025a943f9c72f7b86363dc08edaecd (diff)
downloadrockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.tar.gz
rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.zip
adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r--apps/plugins/sokoban.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index 5b0eae1bc6..1011c85c80 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -49,6 +49,12 @@
49#define SOKOBAN_LEVEL_DOWN (BUTTON_MENU | BUTTON_LEFT) 49#define SOKOBAN_LEVEL_DOWN (BUTTON_MENU | BUTTON_LEFT)
50#define SOKOBAN_LEVEL_REPEAT (BUTTON_MENU | BUTTON_UP) 50#define SOKOBAN_LEVEL_REPEAT (BUTTON_MENU | BUTTON_UP)
51 51
52#elif CONFIG_KEYPAD == IRIVER_H100_PAD
53#define SOKOBAN_QUIT BUTTON_OFF
54#define SOKOBAN_UNDO BUTTON_ON
55#define SOKOBAN_LEVEL_UP BUTTON_MODE
56#define SOKOBAN_LEVEL_DOWN BUTTON_REC
57#define SOKOBAN_LEVEL_REPEAT BUTTON_SELECT
52#endif 58#endif
53 59
54static void init_undo(void); 60static void init_undo(void);