diff options
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r-- | apps/plugins/calculator.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c index ba18cc1c55..2584062fd7 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c | |||
@@ -143,6 +143,16 @@ PLUGIN_HEADER | |||
143 | #define CALCULATOR_INPUT (BUTTON_SELECT | BUTTON_REL) | 143 | #define CALCULATOR_INPUT (BUTTON_SELECT | BUTTON_REL) |
144 | #define CALCULATOR_CALC (BUTTON_PLAY | BUTTON_REPEAT) | 144 | #define CALCULATOR_CALC (BUTTON_PLAY | BUTTON_REPEAT) |
145 | 145 | ||
146 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
147 | |||
148 | #define CALCULATOR_UP BUTTON_UP | ||
149 | #define CALCULATOR_DOWN BUTTON_DOWN | ||
150 | #define CALCULATOR_QUIT BUTTON_POWER | ||
151 | #define CALCULATOR_INPUT_CALC_PRE BUTTON_MENU | ||
152 | #define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL) | ||
153 | #define CALCULATOR_CALC BUTTON_PLAY | ||
154 | #define CALCULATOR_CLEAR BUTTON_REC | ||
155 | |||
146 | #endif | 156 | #endif |
147 | 157 | ||
148 | static struct plugin_api* rb; | 158 | static struct plugin_api* rb; |