summaryrefslogtreecommitdiffstats
path: root/apps/plugins/calculator.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/calculator.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/calculator.c')
-rw-r--r--apps/plugins/calculator.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index f7cafc8f24..4e40625356 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -363,6 +363,17 @@ PLUGIN_HEADER
#define CALCULATOR_CALC BUTTON_FFWD
#define CALCULATOR_CLEAR BUTTON_REW
+#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
+
+#define CALCULATOR_LEFT BUTTON_PREV
+#define CALCULATOR_RIGHT BUTTON_NEXT
+#define CALCULATOR_UP BUTTON_UP
+#define CALCULATOR_DOWN BUTTON_DOWN
+#define CALCULATOR_QUIT BUTTON_REC
+#define CALCULATOR_INPUT BUTTON_OK
+#define CALCULATOR_CALC BUTTON_PLAY
+#define CALCULATOR_CLEAR BUTTON_CANCEL
+
#else
#error No keymap defined!
#endif