From 2f84f699c0df4a82dfdcb2244e1c7bf4af99fc72 Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Tue, 7 Oct 2008 16:38:28 +0000 Subject: IAUDIO67_PAD: Add keymaps for most of the plugins, they are not all tested yet. IAUDIO7: Define MODEL_NAME in config git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18730 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 4e51e3c..f38831e 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h @@ -147,6 +147,18 @@ #define PACMAN_MENU (BUTTON_MENU|BUTTON_REL) +#elif CONFIG_KEYPAD == IAUDIO67_PAD + +#define PACMAN_UP BUTTON_STOP +#define PACMAN_DOWN BUTTON_PLAY +#define PACMAN_LEFT BUTTON_LEFT +#define PACMAN_RIGHT BUTTON_RIGHT +#define PACMAN_1UP BUTTON_VOLDOWN +#define PACMAN_2UP BUTTON_VOLUP +#define PACMAN_COIN_PRE BUTTON_MENU +#define PACMAN_COIN (BUTTON_MENU | BUTTON_PLAY) +#define PACMAN_MENU BUTTON_POWER + #else #error Keymap not defined! -- cgit v1.1