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.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index 055ace08c5..7f87b7caa2 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -184,6 +184,18 @@ PLUGIN_HEADER
184#define VIEWER_LINE_UP BUTTON_SCROLL_UP 184#define VIEWER_LINE_UP BUTTON_SCROLL_UP
185#define VIEWER_LINE_DOWN BUTTON_SCROLL_DOWN 185#define VIEWER_LINE_DOWN BUTTON_SCROLL_DOWN
186 186
187/* Sansa C200 keys */
188#elif CONFIG_KEYPAD == SANSA_C200_PAD
189#define VIEWER_QUIT BUTTON_POWER
190#define VIEWER_PAGE_UP BUTTON_VOL_UP
191#define VIEWER_PAGE_DOWN BUTTON_VOL_DOWN
192#define VIEWER_SCREEN_LEFT BUTTON_LEFT
193#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
194#define VIEWER_MENU BUTTON_SELECT
195#define VIEWER_AUTOSCROLL BUTTON_REC
196#define VIEWER_LINE_UP BUTTON_UP
197#define VIEWER_LINE_DOWN BUTTON_DOWN
198
187/* iriver H10 keys */ 199/* iriver H10 keys */
188#elif CONFIG_KEYPAD == IRIVER_H10_PAD 200#elif CONFIG_KEYPAD == IRIVER_H10_PAD
189#define VIEWER_QUIT BUTTON_POWER 201#define VIEWER_QUIT BUTTON_POWER