From 29361abf744ed116cec04ca03e754ddd2794b76c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 22 Mar 2008 10:24:28 +0000 Subject: Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/stopwatch.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugins/stopwatch.c') diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c index 53f79ee6f7..ac3c7b70fb 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c @@ -136,6 +136,14 @@ PLUGIN_HEADER #define STOPWATCH_LAP_TIMER BUTTON_MENU #define STOPWATCH_SCROLL_UP BUTTON_UP #define STOPWATCH_SCROLL_DOWN BUTTON_DOWN +#elif CONFIG_KEYPAD == IAUDIO_M3_PAD +#define STOPWATCH_QUIT BUTTON_RC_REC +#define STOPWATCH_START_STOP BUTTON_RC_PLAY +#define STOPWATCH_RESET_TIMER BUTTON_RC_REW +#define STOPWATCH_LAP_TIMER BUTTON_RC_FF +#define STOPWATCH_SCROLL_UP BUTTON_RC_VOL_UP +#define STOPWATCH_SCROLL_DOWN BUTTON_RC_VOL_DOWN +#define STOPWATCH_RC_QUIT BUTTON_REC #else #error No keymap defined! #endif -- cgit v1.2.3