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/fractals/fractal.h | |
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/fractals/fractal.h')
-rw-r--r-- | apps/plugins/fractals/fractal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/fractals/fractal.h b/apps/plugins/fractals/fractal.h index d9c4a88bdf..aa8c31f093 100644 --- a/apps/plugins/fractals/fractal.h +++ b/apps/plugins/fractals/fractal.h | |||
@@ -472,6 +472,18 @@ | |||
472 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD | 472 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD |
473 | #define FRACTAL_QUIT BUTTON_POWER | 473 | #define FRACTAL_QUIT BUTTON_POWER |
474 | 474 | ||
475 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
476 | #define FRACTAL_QUIT BUTTON_POWER | ||
477 | #define FRACTAL_UP BUTTON_UP | ||
478 | #define FRACTAL_DOWN BUTTON_DOWN | ||
479 | #define FRACTAL_RIGHT BUTTON_RIGHT | ||
480 | #define FRACTAL_LEFT BUTTON_LEFT | ||
481 | #define FRACTAL_ZOOM_IN (BUTTON_VOLUP|BUTTON_UP) | ||
482 | #define FRACTAL_ZOOM_OUT (BUTTON_VOLUP|BUTTON_DOWN) | ||
483 | #define FRACTAL_PRECISION_INC (BUTTON_VOLUP|BUTTON_RIGHT) | ||
484 | #define FRACTAL_PRECISION_DEC (BUTTON_VOLUP|BUTTON_LEFT) | ||
485 | #define FRACTAL_RESET BUTTON_SELECT | ||
486 | |||
475 | #else | 487 | #else |
476 | #error No keymap defined! | 488 | #error No keymap defined! |
477 | #endif | 489 | #endif |