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/flipit.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/flipit.c')
-rw-r--r-- | apps/plugins/flipit.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index 158d69da8d..fafc1f9c08 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c | |||
@@ -470,6 +470,18 @@ | |||
470 | #define FLIPIT_QUIT BUTTON_POWER | 470 | #define FLIPIT_QUIT BUTTON_POWER |
471 | #define FLIPIT_TOGGLE BUTTON_MENU | 471 | #define FLIPIT_TOGGLE BUTTON_MENU |
472 | 472 | ||
473 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
474 | |||
475 | #define FLIPIT_LEFT BUTTON_LEFT | ||
476 | #define FLIPIT_RIGHT BUTTON_RIGHT | ||
477 | #define FLIPIT_UP BUTTON_UP | ||
478 | #define FLIPIT_DOWN BUTTON_DOWN | ||
479 | #define FLIPIT_QUIT (BUTTON_POWER|BUTTON_REL) | ||
480 | #define FLIPIT_SHUFFLE (BUTTON_VOLDOWN) | ||
481 | #define FLIPIT_SOLVE (BUTTON_SELECT|BUTTON_VOLUP) | ||
482 | #define FLIPIT_STEP_BY_STEP (BUTTON_LEFT|BUTTON_VOLUP) | ||
483 | #define FLIPIT_TOGGLE BUTTON_SELECT | ||
484 | |||
473 | #else | 485 | #else |
474 | #error No keymap defined! | 486 | #error No keymap defined! |
475 | #endif | 487 | #endif |