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/imageviewer/imageviewer_button.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/imageviewer/imageviewer_button.h')
-rw-r--r-- | apps/plugins/imageviewer/imageviewer_button.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/imageviewer_button.h b/apps/plugins/imageviewer/imageviewer_button.h index 13502369ee..abd84f1710 100644 --- a/apps/plugins/imageviewer/imageviewer_button.h +++ b/apps/plugins/imageviewer/imageviewer_button.h | |||
@@ -483,6 +483,18 @@ | |||
483 | #define IMGVIEW_QUIT BUTTON_POWER | 483 | #define IMGVIEW_QUIT BUTTON_POWER |
484 | #define IMGVIEW_MENU BUTTON_MENU | 484 | #define IMGVIEW_MENU BUTTON_MENU |
485 | 485 | ||
486 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
487 | #define IMGVIEW_ZOOM_IN BUTTON_VOLUP | ||
488 | #define IMGVIEW_ZOOM_OUT BUTTON_VOLDOWN | ||
489 | #define IMGVIEW_UP BUTTON_UP | ||
490 | #define IMGVIEW_DOWN BUTTON_DOWN | ||
491 | #define IMGVIEW_LEFT BUTTON_LEFT | ||
492 | #define IMGVIEW_RIGHT BUTTON_RIGHT | ||
493 | #define IMGVIEW_NEXT (BUTTON_SELECT|BUTTON_RIGHT) | ||
494 | #define IMGVIEW_PREVIOUS (BUTTON_SELECT|BUTTON_LEFT) | ||
495 | #define IMGVIEW_QUIT (BUTTON_POWER|BUTTON_REL) | ||
496 | #define IMGVIEW_MENU (BUTTON_SELECT|BUTTON_REL) | ||
497 | |||
486 | #else | 498 | #else |
487 | #error No keymap defined! | 499 | #error No keymap defined! |
488 | #endif | 500 | #endif |