summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-03-22 22:03:34 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-03-22 22:03:34 +0000
commit554d7ed9025bf629f9202c4e5c106f62853207a3 (patch)
treebbdfea0c02e0d1d241bb9e8bebd75c69176f8e16 /apps/plugins/wormlet.c
parentecde125fa7888a8d0c1fbfac1584caf5f58aa9a7 (diff)
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.c13
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
#define PLAYERS_TEXT "VOL UP/DN"
#define WORMS_TEXT "REW/FF"
+#elif (CONFIG_KEYPAD == COWOND2_PAD)
+
+#define BTN_DIR_UP BUTTON_UP
+#define BTN_DIR_DOWN BUTTON_DOWN
+#define BTN_DIR_LEFT BUTTON_LEFT
+#define BTN_DIR_RIGHT BUTTON_RIGHT
+#define BTN_STARTPAUSE BUTTON_SELECT
+#define BTN_QUIT BUTTON_POWER
+#define BTN_STOPRESET BUTTON_PLUS
+
+#define PLAYERS_TEXT "Up/Down"
+#define WORMS_TEXT "Left/Right"
+
#else
#error No keymap defined!
#endif