From 554d7ed9025bf629f9202c4e5c106f62853207a3 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Sat, 22 Mar 2008 22:03:34 +0000 Subject: D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pacbox/pacbox.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'apps/plugins/pacbox') diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index ea9fd3c0ef..d316b70e71 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h @@ -130,6 +130,18 @@ #define PACMAN_COIN (BUTTON_RC_MODE | BUTTON_RC_DOWN) #define PACMAN_MENU BUTTON_POWER +#elif CONFIG_KEYPAD == COWOND2_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_MINUS +#define PACMAN_2UP BUTTON_PLUS +#define PACMAN_COIN_PRE BUTTON_SELECT +#define PACMAN_COIN (BUTTON_MENU | BUTTON_SELECT) +#define PACMAN_MENU BUTTON_MENU + #else #error Keymap not defined! -- cgit v1.2.3