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/chessbox/chessbox_pgn.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/chessbox') diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h index 88d12c787f..35ac8daaf7 100644 --- a/apps/plugins/chessbox/chessbox_pgn.h +++ b/apps/plugins/chessbox/chessbox_pgn.h @@ -284,6 +284,17 @@ #define CB_RESTART BUTTON_MINUS #define CB_MENU (BUTTON_MENU|BUTTON_REL) +#elif CONFIG_KEYPAD == CREATIVEZVM_PAD + +#define CB_SELECT BUTTON_PLAY +#define CB_UP BUTTON_UP +#define CB_DOWN BUTTON_DOWN +#define CB_LEFT BUTTON_LEFT +#define CB_RIGHT BUTTON_RIGHT +#define CB_PLAY BUTTON_SELECT +#define CB_LEVEL BUTTON_CUSTOM +#define CB_MENU BUTTON_MENU + #else #error No keymap defined! -- cgit v1.2.3