summaryrefslogtreecommitdiff
path: root/apps/plugins/pong.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/pong.c
parentecde125fa7888a8d0c1fbfac1584caf5f58aa9a7 (diff)
downloadrockbox-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/pong.c')
-rw-r--r--apps/plugins/pong.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index 707f107d3b..b1e53d3dcc 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -146,6 +146,13 @@ PLUGIN_HEADER
146#define PONG_RIGHT_UP BUTTON_VOL_UP 146#define PONG_RIGHT_UP BUTTON_VOL_UP
147#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN 147#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
148 148
149#elif (CONFIG_KEYPAD == COWOND2_PAD)
150#define PONG_QUIT BUTTON_POWER
151#define PONG_LEFT_UP BUTTON_UP
152#define PONG_LEFT_DOWN BUTTON_DOWN
153#define PONG_RIGHT_UP BUTTON_LEFT
154#define PONG_RIGHT_DOWN BUTTON_RIGHT
155
149#else 156#else
150#error No keymap defined! 157#error No keymap defined!
151#endif 158#endif