diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-03-22 22:03:34 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-03-22 22:03:34 +0000 |
commit | 554d7ed9025bf629f9202c4e5c106f62853207a3 (patch) | |
tree | bbdfea0c02e0d1d241bb9e8bebd75c69176f8e16 /apps/plugins/minesweeper.c | |
parent | ecde125fa7888a8d0c1fbfac1584caf5f58aa9a7 (diff) | |
download | rockbox-554d7ed9025bf629f9202c4e5c106f62853207a3.tar.gz rockbox-554d7ed9025bf629f9202c4e5c106f62853207a3.zip |
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r-- | apps/plugins/minesweeper.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index afe7a39320..0f3de2fb74 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c | |||
@@ -183,6 +183,16 @@ enum minesweeper_status { | |||
183 | # define MINESWP_DISCOVER BUTTON_RC_PLAY | 183 | # define MINESWP_DISCOVER BUTTON_RC_PLAY |
184 | # define MINESWP_INFO BUTTON_RC_MENU | 184 | # define MINESWP_INFO BUTTON_RC_MENU |
185 | 185 | ||
186 | #elif (CONFIG_KEYPAD == COWOND2_PAD) | ||
187 | # define MINESWP_LEFT BUTTON_LEFT | ||
188 | # define MINESWP_RIGHT BUTTON_RIGHT | ||
189 | # define MINESWP_UP BUTTON_UP | ||
190 | # define MINESWP_DOWN BUTTON_DOWN | ||
191 | # define MINESWP_QUIT BUTTON_POWER | ||
192 | # define MINESWP_TOGGLE BUTTON_SELECT | ||
193 | # define MINESWP_DISCOVER BUTTON_MENU | ||
194 | # define MINESWP_INFO (BUTTON_MENU | BUTTON_SELECT) | ||
195 | |||
186 | #else | 196 | #else |
187 | #error No keymap defined! | 197 | #error No keymap defined! |
188 | #endif | 198 | #endif |