diff options
author | Robert Kukla <roolku@rockbox.org> | 2008-03-01 22:55:09 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2008-03-01 22:55:09 +0000 |
commit | d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 (patch) | |
tree | 2c3e35f7d1f705c08d963a21ede3b42f1bee5019 /apps/plugins/minesweeper.c | |
parent | 9876d91e351f457bac7f5ea3459dc12ef021078a (diff) | |
download | rockbox-d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34.tar.gz rockbox-d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34.zip |
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.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index f448b96fe2..8b9fe85da9 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c | |||
@@ -141,8 +141,16 @@ enum minesweeper_status { | |||
141 | # define MINESWP_DISCOVER BUTTON_SELECT | 141 | # define MINESWP_DISCOVER BUTTON_SELECT |
142 | # define MINESWP_INFO BUTTON_MENU | 142 | # define MINESWP_INFO BUTTON_MENU |
143 | 143 | ||
144 | #elif (CONFIG_KEYPAD == MROBE100_PAD) | ||
145 | # define MINESWP_UP BUTTON_UP | ||
146 | # define MINESWP_DOWN BUTTON_DOWN | ||
147 | # define MINESWP_QUIT BUTTON_POWER | ||
148 | # define MINESWP_TOGGLE BUTTON_DISPLAY | ||
149 | # define MINESWP_DISCOVER BUTTON_SELECT | ||
150 | # define MINESWP_INFO BUTTON_MENU | ||
151 | |||
144 | #else | 152 | #else |
145 | # warning Missing key definitions for this keypad | 153 | #error No keymap defined! |
146 | #endif | 154 | #endif |
147 | 155 | ||
148 | /* here is a global api struct pointer. while not strictly necessary, | 156 | /* here is a global api struct pointer. while not strictly necessary, |