summaryrefslogtreecommitdiffstats
path: root/apps/plugins/snake.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/snake.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/snake.c')
-rw-r--r--apps/plugins/snake.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c
index c32873fbc2..a7e75c00c9 100644
--- a/apps/plugins/snake.c
+++ b/apps/plugins/snake.c
@@ -199,6 +199,14 @@ PLUGIN_HEADER
#elif CONFIG_KEYPAD == COWON_D2_PAD
#define SNAKE_QUIT BUTTON_POWER
+#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
+#define SNAKE_QUIT BUTTON_REC
+#define SNAKE_LEFT BUTTON_PREV
+#define SNAKE_RIGHT BUTTON_NEXT
+#define SNAKE_UP BUTTON_UP
+#define SNAKE_DOWN BUTTON_DOWN
+#define SNAKE_PLAYPAUSE BUTTON_PLAY
+
#else
#error No keymap defined!
#endif