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/wormlet.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/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index 0da929d0a3..68b31a1a7c 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -215,6 +215,19 @@ PLUGIN_HEADER | |||
215 | #define PLAYERS_TEXT "VOL UP/DN" | 215 | #define PLAYERS_TEXT "VOL UP/DN" |
216 | #define WORMS_TEXT "REW/FF" | 216 | #define WORMS_TEXT "REW/FF" |
217 | 217 | ||
218 | #elif (CONFIG_KEYPAD == COWOND2_PAD) | ||
219 | |||
220 | #define BTN_DIR_UP BUTTON_UP | ||
221 | #define BTN_DIR_DOWN BUTTON_DOWN | ||
222 | #define BTN_DIR_LEFT BUTTON_LEFT | ||
223 | #define BTN_DIR_RIGHT BUTTON_RIGHT | ||
224 | #define BTN_STARTPAUSE BUTTON_SELECT | ||
225 | #define BTN_QUIT BUTTON_POWER | ||
226 | #define BTN_STOPRESET BUTTON_PLUS | ||
227 | |||
228 | #define PLAYERS_TEXT "Up/Down" | ||
229 | #define WORMS_TEXT "Left/Right" | ||
230 | |||
218 | #else | 231 | #else |
219 | #error No keymap defined! | 232 | #error No keymap defined! |
220 | #endif | 233 | #endif |