From 594b6e2b496e69ca843b21bf04810bdb919099a7 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Tue, 4 Aug 2009 03:08:32 +0000 Subject: Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pacbox/pacbox.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/pacbox') diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index 0b0ed5f..a4e1f88 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h @@ -196,6 +196,17 @@ #define PACMAN_MENU (BUTTON_MENU|BUTTON_REL) +#elif CONFIG_KEYPAD == SAMSUNG_YH_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_REC +#define PACMAN_2UP BUTTON_REW +#define PACMAN_COIN BUTTON_FFWD +#define PACMAN_MENU BUTTON_PLAY + #else #error Keymap not defined! -- cgit v1.1