From cea285d64e34f8c2ecce676f6239b59608597019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= 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/matrix.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/plugins/matrix.c') diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index 9356559..99b731d 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c @@ -104,6 +104,11 @@ extern const fb_data matrix_normal[]; #define MATRIX_SLEEP_MORE BUTTON_VOLUP #define MATRIX_SLEEP_LESS BUTTON_VOLDOWN #define MATRIX_PAUSE BUTTON_PLAY +#elif CONFIG_KEYPAD == CREATIVEZVM_PAD +#define MATRIX_EXIT BUTTON_BACK +#define MATRIX_SLEEP_MORE BUTTON_UP +#define MATRIX_SLEEP_LESS BUTTON_DOWN +#define MATRIX_PAUSE BUTTON_PLAY #else #error Unsupported keypad #endif -- cgit v1.1