summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2008-06-17 09:50:37 +0000
committerMarianne Arnold <pixelma@rockbox.org>2008-06-17 09:50:37 +0000
commit19590c25b372ecb44cbc142e54c2f66afebbbb83 (patch)
tree2638ed4904411395065f2e63639ed9e1ca085b63
parent014dc784f355f2375a33cc19acc8070035848d29 (diff)
Make the 'calculate' shortcut work on the H10 pad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17728 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/calculator.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index 8628d816d4..e65d8bb703 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -212,14 +212,14 @@ PLUGIN_HEADER
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
#define CALCULATOR_LEFT BUTTON_LEFT
-#define CALCULATOR_RIGHT BUTTON_RIGHT
-#define CALCULATOR_UP BUTTON_SCROLL_UP
-#define CALCULATOR_DOWN BUTTON_SCROLL_DOWN
-#define CALCULATOR_QUIT BUTTON_POWER
+#define CALCULATOR_RIGHT BUTTON_RIGHT
+#define CALCULATOR_UP BUTTON_SCROLL_UP
+#define CALCULATOR_DOWN BUTTON_SCROLL_DOWN
+#define CALCULATOR_QUIT BUTTON_POWER
#define CALCULATOR_INPUT_CALC_PRE BUTTON_PLAY
-#define CALCULATOR_INPUT (BUTTON_PLAY | BUTTON_REL)
-#define CALCULATOR_CALC BUTTON_PLAY
-#define CALCULATOR_CLEAR BUTTON_REW
+#define CALCULATOR_INPUT (BUTTON_PLAY | BUTTON_REL)
+#define CALCULATOR_CALC (BUTTON_PLAY | BUTTON_REPEAT)
+#define CALCULATOR_CLEAR BUTTON_REW
#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD)