summaryrefslogtreecommitdiff
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-02-10 23:46:12 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-02-10 23:46:12 +0000
commite9aab365cb4ea1159a0f3735367f69c276d4a086 (patch)
tree2051ed21519cd716d8753102e3946d262c453481 /apps/plugins/calculator.c
parentaa2989f4d272344062c43fc894a7721efd7f9f8c (diff)
iRiver: Working keys for the calculator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5893 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r--apps/plugins/calculator.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index a8349f4c06..5263ab3bd7 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -120,9 +120,10 @@ F3: equal to "="
#elif CONFIG_KEYPAD == IRIVER_H100_PAD
#define CALCULATOR_QUIT BUTTON_OFF
-#define CALCULATOR_INPUT_CALC_PRE BUTTON_SELECT
-#define CALCULATOR_INPUT (BUTTON_ON | BUTTON_REL)
-#define CALCULATOR_CALC (BUTTON_ON | BUTTON_REPEAT)
+#define CALCULATOR_INPUT BUTTON_SELECT
+#define CALCULATOR_CALC BUTTON_ON
+#define CALCULATOR_OPERATORS BUTTON_MODE
+#define CALCULATOR_CLEAR BUTTON_REC
#endif