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 25128d69be..a30ccdc83d 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c | |||
@@ -515,6 +515,16 @@ F3: equal to "=" | |||
515 | #define CALCULATOR_QUIT BUTTON_POWER | 515 | #define CALCULATOR_QUIT BUTTON_POWER |
516 | #define CALCULATOR_INPUT BUTTON_MENU | 516 | #define CALCULATOR_INPUT BUTTON_MENU |
517 | 517 | ||
518 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
519 | #define CALCULATOR_LEFT BUTTON_LEFT | ||
520 | #define CALCULATOR_RIGHT BUTTON_RIGHT | ||
521 | #define CALCULATOR_UP BUTTON_UP | ||
522 | #define CALCULATOR_DOWN BUTTON_DOWN | ||
523 | #define CALCULATOR_QUIT BUTTON_POWER | ||
524 | #define CALCULATOR_INPUT BUTTON_SELECT | ||
525 | #define CALCULATOR_CALC BUTTON_VOLUP | ||
526 | #define CALCULATOR_CLEAR (BUTTON_SELECT|BUTTON_REPEAT) | ||
527 | |||
518 | #else | 528 | #else |
519 | #error No keymap defined! | 529 | #error No keymap defined! |
520 | #endif | 530 | #endif |