summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pacbox/pacbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pacbox/pacbox.h')
-rw-r--r--apps/plugins/pacbox/pacbox.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index 0b0ed5fd52..a4e1f8879d 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!