summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/rockboy.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/rockboy/rockboy.c
parent1251fa5766d79d97e83d19f1ca3a104e1d8b77a5 (diff)
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/rockboy/rockboy.c')
-rw-r--r--apps/plugins/rockboy/rockboy.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c
index 593ce828b4..ba60b14f72 100644
--- a/apps/plugins/rockboy/rockboy.c
+++ b/apps/plugins/rockboy/rockboy.c
@@ -268,6 +268,18 @@ static void setoptions (void)
options.SELECT=BUTTON_FFWD;
options.MENU=BUTTON_NONE;
+#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
+ options.UP= BUTTON_OK;
+ options.DOWN= BUTTON_CANCEL;
+ options.LEFT= BUTTON_PREV;
+ options.RIGHT= BUTTON_NEXT;
+
+ options.A= BUTTON_POWER;
+ options.B= BUTTON_REC;
+ options.START= BUTTON_PLAY;
+ options.SELECT= BUTTON_UP;
+ options.MENU= BUTTON_MENU;
+
#else
#error No Keymap Defined!
#endif