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/chessclock.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/plugins/chessclock.c') diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index 6523021b6d..7d16c7c629 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c @@ -170,6 +170,16 @@ PLUGIN_HEADER #define CHC_SETTINGS_OK BUTTON_SELECT #define CHC_SETTINGS_CANCEL BUTTON_POWER +#elif CONFIG_KEYPAD == IAUDIO_M3_PAD +#define CHC_QUIT BUTTON_RC_REC +#define CHC_STARTSTOP BUTTON_RC_PLAY +#define CHC_RESET BUTTON_RC_REW +#define CHC_MENU BUTTON_RC_MENU +#define CHC_SETTINGS_INC BUTTON_RC_VOL_UP +#define CHC_SETTINGS_DEC BUTTON_RC_VOL_DOWN +#define CHC_SETTINGS_OK BUTTON_RC_PLAY +#define CHC_SETTINGS_CANCEL BUTTON_RC_REC + #else #error No keymap defined! #endif -- cgit v1.2.3