summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pacbox/pacbox.h
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2010-02-14 21:56:53 +0000
committerSzymon Dziok <b0hoon@o2.pl>2010-02-14 21:56:53 +0000
commit7074a64d8aa7030543832ab2e59885fd16e34adb (patch)
tree0b190cc139ee08b52c036d5db68b2a3a680c9dd2 /apps/plugins/pacbox/pacbox.h
parent26c0e753d1e19747719dbcae8dc6e84a0a74671a (diff)
downloadrockbox-7074a64d8aa7030543832ab2e59885fd16e34adb.tar.gz
rockbox-7074a64d8aa7030543832ab2e59885fd16e34adb.tar.bz2
rockbox-7074a64d8aa7030543832ab2e59885fd16e34adb.zip
Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24658 a1c6a512-1295-4272-9138-f99709370657
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 203c0f5836..993848b9aa 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -221,6 +221,17 @@
#define PACMAN_COIN BUTTON_FFWD
#define PACMAN_MENU BUTTON_PLAY
+#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
+
+#define PACMAN_UP BUTTON_UP
+#define PACMAN_DOWN BUTTON_DOWN
+#define PACMAN_LEFT BUTTON_PREV
+#define PACMAN_RIGHT BUTTON_NEXT
+#define PACMAN_1UP BUTTON_PLAY
+#define PACMAN_2UP BUTTON_REC
+#define PACMAN_COIN BUTTON_OK
+#define PACMAN_MENU BUTTON_MENU
+
#else
#error Keymap not defined!