diff --git a/apps/plugins/imageviewer/imageviewer_button.h b/apps/plugins/imageviewer/imageviewer_button.h index 9b755848738..ca1777c2346 100644 --- a/apps/plugins/imageviewer/imageviewer_button.h +++ b/apps/plugins/imageviewer/imageviewer_button.h @@ -443,16 +443,19 @@ #define IMGVIEW_MENU BUTTON_MENU #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD -#define IMGVIEW_ZOOM_IN BUTTON_VOLUP -#define IMGVIEW_ZOOM_OUT BUTTON_VOLDOWN -#define IMGVIEW_UP BUTTON_UP -#define IMGVIEW_DOWN BUTTON_DOWN -#define IMGVIEW_LEFT BUTTON_LEFT -#define IMGVIEW_RIGHT BUTTON_RIGHT -#define IMGVIEW_NEXT (BUTTON_SELECT|BUTTON_RIGHT) -#define IMGVIEW_PREVIOUS (BUTTON_SELECT|BUTTON_LEFT) -#define IMGVIEW_QUIT (BUTTON_POWER|BUTTON_REL) -#define IMGVIEW_MENU (BUTTON_SELECT|BUTTON_REL) +#define IMGVIEW_ZOOM_PRE BUTTON_SELECT +#define IMGVIEW_ZOOM_IN (BUTTON_SELECT | BUTTON_REL) +#define IMGVIEW_ZOOM_OUT (BUTTON_SELECT | BUTTON_REPEAT) +#define IMGVIEW_UP BUTTON_UP +#define IMGVIEW_DOWN BUTTON_DOWN +#define IMGVIEW_LEFT BUTTON_LEFT +#define IMGVIEW_RIGHT BUTTON_RIGHT +#define IMGVIEW_NEXT BUTTON_VOLUP +#define IMGVIEW_NEXT_REPEAT (BUTTON_VOLUP|BUTTON_REPEAT) +#define IMGVIEW_PREVIOUS BUTTON_VOLDOWN +#define IMGVIEW_PREVIOUS_REPEAT (BUTTON_VOLDOWN|BUTTON_REPEAT) +#define IMGVIEW_MENU (BUTTON_POWER|BUTTON_REPEAT) +#define IMGVIEW_QUIT (BUTTON_POWER|BUTTON_REL) #elif CONFIG_KEYPAD == XDUOO_X3_PAD #define IMGVIEW_ZOOM_PRE BUTTON_PLAY