summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2010-02-13 15:46:34 +0000
committerSzymon Dziok <b0hoon@o2.pl>2010-02-13 15:46:34 +0000
commit841cffab5b825eee3972946725988eb2bca8583d (patch)
tree51dce108d1210a83dd07b947abf1f8e9fd9c9046 /apps/plugins/chip8.c
parent1251fa5766d79d97e83d19f1ca3a104e1d8b77a5 (diff)
downloadrockbox-841cffab5b825eee3972946725988eb2bca8583d.tar.gz
rockbox-841cffab5b825eee3972946725988eb2bca8583d.tar.bz2
rockbox-841cffab5b825eee3972946725988eb2bca8583d.zip
Packard Bell Vibe 500: More plugin keymaps (second portion).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24634 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index 4767898206..4aa19125f2 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1127,6 +1127,15 @@ CONFIG_KEYPAD == MROBE500_PAD
#define CHIP8_KEY5 BUTTON_PLAY
#define CHIP8_KEY6 BUTTON_RIGHT
#define CHIP8_KEY8 BUTTON_DOWN
+
+#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
+#define CHIP8_OFF BUTTON_REC
+#define CHIP8_KEY2 BUTTON_UP
+#define CHIP8_KEY4 BUTTON_PREV
+#define CHIP8_KEY5 BUTTON_OK
+#define CHIP8_KEY6 BUTTON_NEXT
+#define CHIP8_KEY8 BUTTON_DOWN
+
#else
#error No keymap defined!
#endif