summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r--apps/plugins/viewer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index 8e72229c5a..238c4e0fb2 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -152,6 +152,17 @@ PLUGIN_HEADER
152#define VIEWER_MODE_LINE (BUTTON_PLAY | BUTTON_REPEAT) 152#define VIEWER_MODE_LINE (BUTTON_PLAY | BUTTON_REPEAT)
153#define VIEWER_MODE_WIDTH BUTTON_SELECT 153#define VIEWER_MODE_WIDTH BUTTON_SELECT
154 154
155/* iAudio X5 keys */
156#elif CONFIG_KEYPAD == GIGABEAT_PAD
157#define VIEWER_QUIT BUTTON_A
158#define VIEWER_PAGE_UP BUTTON_UP
159#define VIEWER_PAGE_DOWN BUTTON_DOWN
160#define VIEWER_SCREEN_LEFT BUTTON_LEFT
161#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
162#define VIEWER_MODE_WRAP (BUTTON_POWER | BUTTON_REL)
163#define VIEWER_MODE_LINE (BUTTON_POWER | BUTTON_REPEAT)
164#define VIEWER_MODE_WIDTH BUTTON_MENU
165
155#endif 166#endif
156 167
157enum { 168enum {