From cea285d64e34f8c2ecce676f6239b59608597019 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Thu, 4 Dec 2008 21:28:56 +0000 Subject: Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 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 2803e52440..9725c6dc67 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c @@ -158,6 +158,13 @@ PLUGIN_HEADER #define STOPWATCH_SCROLL_UP BUTTON_VOLUP #define STOPWATCH_SCROLL_DOWN BUTTON_VOLDOWN #define STOPWATCH_RC_QUIT BUTTON_POWER +#elif CONFIG_KEYPAD == CREATIVEZVM_PAD +#define STOPWATCH_QUIT BUTTON_BACK +#define STOPWATCH_START_STOP BUTTON_PLAY +#define STOPWATCH_RESET_TIMER BUTTON_CUSTOM +#define STOPWATCH_LAP_TIMER BUTTON_SELECT +#define STOPWATCH_SCROLL_UP BUTTON_UP +#define STOPWATCH_SCROLL_DOWN BUTTON_DOWN #else #error No keymap defined! #endif -- cgit v1.2.3