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/pacbox/pacbox.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/pacbox/pacbox.h') diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index f38831e608..e84f8d8318 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h @@ -159,6 +159,17 @@ #define PACMAN_COIN (BUTTON_MENU | BUTTON_PLAY) #define PACMAN_MENU BUTTON_POWER +#elif CONFIG_KEYPAD == CREATIVEZVM_PAD + +#define PACMAN_UP BUTTON_UP +#define PACMAN_DOWN BUTTON_DOWN +#define PACMAN_LEFT BUTTON_LEFT +#define PACMAN_RIGHT BUTTON_RIGHT +#define PACMAN_1UP BUTTON_CUSTOM +#define PACMAN_2UP BUTTON_SELECT +#define PACMAN_COIN BUTTON_PLAY +#define PACMAN_MENU BUTTON_MENU + #else #error Keymap not defined! -- cgit v1.2.3