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/stopwatch.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/plugins/stopwatch.c') diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c index ac3c7b70fb..d4d890df0d 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c @@ -144,6 +144,13 @@ PLUGIN_HEADER #define STOPWATCH_SCROLL_UP BUTTON_RC_VOL_UP #define STOPWATCH_SCROLL_DOWN BUTTON_RC_VOL_DOWN #define STOPWATCH_RC_QUIT BUTTON_REC +#elif CONFIG_KEYPAD == COWOND2_PAD +#define STOPWATCH_QUIT BUTTON_POWER +#define STOPWATCH_START_STOP BUTTON_SELECT +#define STOPWATCH_RESET_TIMER BUTTON_MENU +#define STOPWATCH_LAP_TIMER BUTTON_PLUS +#define STOPWATCH_SCROLL_UP BUTTON_UP +#define STOPWATCH_SCROLL_DOWN BUTTON_DOWN #else #error No keymap defined! #endif -- cgit v1.2.3