From 554d7ed9025bf629f9202c4e5c106f62853207a3 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Sat, 22 Mar 2008 22:03:34 +0000 Subject: 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 --- apps/plugins/pong.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/plugins/pong.c') 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 #define PONG_RIGHT_UP BUTTON_VOL_UP #define PONG_RIGHT_DOWN BUTTON_VOL_DOWN +#elif (CONFIG_KEYPAD == COWOND2_PAD) +#define PONG_QUIT BUTTON_POWER +#define PONG_LEFT_UP BUTTON_UP +#define PONG_LEFT_DOWN BUTTON_DOWN +#define PONG_RIGHT_UP BUTTON_LEFT +#define PONG_RIGHT_DOWN BUTTON_RIGHT + #else #error No keymap defined! #endif -- cgit v1.2.3