diff options
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 |