summaryrefslogtreecommitdiff
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r--apps/plugins/calculator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index 9d5ae205b9..e9de760b22 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -118,7 +118,8 @@ F3: equal to "="
118#define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL) 118#define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL)
119#define CALCULATOR_CALC (BUTTON_MENU | BUTTON_REPEAT) 119#define CALCULATOR_CALC (BUTTON_MENU | BUTTON_REPEAT)
120 120
121#elif CONFIG_KEYPAD == IRIVER_H100_PAD 121#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
122 (CONFIG_KEYPAD == IRIVER_H300_PAD)
122#define CALCULATOR_QUIT BUTTON_OFF 123#define CALCULATOR_QUIT BUTTON_OFF
123#define CALCULATOR_INPUT BUTTON_SELECT 124#define CALCULATOR_INPUT BUTTON_SELECT
124#define CALCULATOR_CALC BUTTON_ON 125#define CALCULATOR_CALC BUTTON_ON