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/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 3e22676d8b..47d8345edf 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c @@ -202,6 +202,16 @@ PLUGIN_HEADER #define CHC_SETTINGS_OK2 BUTTON_LEFT #define CHC_SETTINGS_CANCEL BUTTON_POWER +#elif CONFIG_KEYPAD == CREATIVEZVM_PAD +#define CHC_QUIT BUTTON_BACK +#define CHC_STARTSTOP BUTTON_SELECT +#define CHC_RESET BUTTON_CUSTOM +#define CHC_MENU BUTTON_MENU +#define CHC_SETTINGS_INC BUTTON_UP +#define CHC_SETTINGS_DEC BUTTON_DOWN +#define CHC_SETTINGS_OK BUTTON_PLAY +#define CHC_SETTINGS_CANCEL BUTTON_BACK + #else #error No keymap defined! #endif -- cgit v1.2.3