diff options
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r-- | apps/plugins/calculator.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c index a5c4277528..0a91d94619 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c | |||
@@ -261,6 +261,19 @@ PLUGIN_HEADER | |||
261 | #define CALCULATOR_QUIT BUTTON_POWER | 261 | #define CALCULATOR_QUIT BUTTON_POWER |
262 | #define CALCULATOR_CLEAR BUTTON_MENU | 262 | #define CALCULATOR_CLEAR BUTTON_MENU |
263 | 263 | ||
264 | #elif CONFIG_KEYPAD == IAUDIO67_PAD | ||
265 | |||
266 | #define CALCULATOR_LEFT BUTTON_LEFT | ||
267 | #define CALCULATOR_RIGHT BUTTON_RIGHT | ||
268 | #define CALCULATOR_UP BUTTON_VOLUP | ||
269 | #define CALCULATOR_DOWN BUTTON_VOLDOWN | ||
270 | #define CALCULATOR_QUIT BUTTON_POWER | ||
271 | #define CALCULATOR_INPUT BUTTON_PLAY | ||
272 | #define CALCULATOR_CALC BUTTON_MENU | ||
273 | #define CALCULATOR_CLEAR BUTTON_STOP | ||
274 | |||
275 | #define CALCULATOR_RC_QUIT (BUTTON_MENU|BUTTON_PLAY) | ||
276 | |||
264 | #else | 277 | #else |
265 | #error No keymap defined! | 278 | #error No keymap defined! |
266 | #endif | 279 | #endif |