diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-03-02 21:53:55 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2018-06-12 10:31:15 +0200 |
commit | fbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch) | |
tree | e4bf533e945a03887620361ad110b3612321d67d /apps/plugins/calculator.c | |
parent | 0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff) | |
download | rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip |
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola.
Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
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 |