summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-03-01 22:55:09 +0000
committerRobert Kukla <roolku@rockbox.org>2008-03-01 22:55:09 +0000
commitd6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 (patch)
tree2c3e35f7d1f705c08d963a21ede3b42f1bee5019 /apps/plugins/minesweeper.c
parent9876d91e351f457bac7f5ea3459dc12ef021078a (diff)
downloadrockbox-d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34.zip
rockbox-d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34.tar.gz
rockbox-d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34.tar.bz2
rockbox-d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34.tar.xz
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r--apps/plugins/minesweeper.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index f448b96..8b9fe85 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -141,8 +141,16 @@ enum minesweeper_status {
# define MINESWP_DISCOVER BUTTON_SELECT
# define MINESWP_INFO BUTTON_MENU
+#elif (CONFIG_KEYPAD == MROBE100_PAD)
+# define MINESWP_UP BUTTON_UP
+# define MINESWP_DOWN BUTTON_DOWN
+# define MINESWP_QUIT BUTTON_POWER
+# define MINESWP_TOGGLE BUTTON_DISPLAY
+# define MINESWP_DISCOVER BUTTON_SELECT
+# define MINESWP_INFO BUTTON_MENU
+
#else
-# warning Missing key definitions for this keypad
+#error No keymap defined!
#endif
/* here is a global api struct pointer. while not strictly necessary,