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 625ab93..9a4b25b 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -185,6 +185,18 @@ PLUGIN_HEADER
#define VIEWER_LINE_UP BUTTON_SCROLL_BACK
#define VIEWER_LINE_DOWN BUTTON_SCROLL_FWD
+/* Sansa Fuze keys */
+#elif CONFIG_KEYPAD == SANSA_FUZE_PAD
+#define VIEWER_QUIT BUTTON_POWER
+#define VIEWER_PAGE_UP BUTTON_UP
+#define VIEWER_PAGE_DOWN BUTTON_DOWN
+#define VIEWER_SCREEN_LEFT BUTTON_LEFT
+#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
+#define VIEWER_MENU BUTTON_SELECT|BUTTON_REPEAT
+#define VIEWER_AUTOSCROLL BUTTON_SELECT|BUTTON_DOWN
+#define VIEWER_LINE_UP BUTTON_SCROLL_BACK
+#define VIEWER_LINE_DOWN BUTTON_SCROLL_FWD
+
/* Sansa C200 keys */
#elif CONFIG_KEYPAD == SANSA_C200_PAD
#define VIEWER_QUIT BUTTON_POWER