From 90bcf9be5ec65894fa75bfc546c6d2a8365ec899 Mon Sep 17 00:00:00 2001 From: Dominik Wenger Date: Fri, 12 Dec 2008 19:50:49 +0000 Subject: m200v4: rename Keys, so they match better other targets with similar key-layout. Enable plugins, add keymaps for plugins. More keymap improvements needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19405 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'apps/plugins/viewer.c') diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 4cef7c5..625ab93 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -209,6 +209,18 @@ PLUGIN_HEADER #define VIEWER_LINE_UP BUTTON_UP #define VIEWER_LINE_DOWN BUTTON_DOWN +/* Sansa M200 keys */ +#elif CONFIG_KEYPAD == SANSA_M200_PAD +#define VIEWER_QUIT BUTTON_POWER +#define VIEWER_PAGE_UP BUTTON_VOL_UP +#define VIEWER_PAGE_DOWN BUTTON_VOL_DOWN +#define VIEWER_SCREEN_LEFT BUTTON_LEFT +#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT +#define VIEWER_MENU (BUTTON_SELECT | BUTTON_UP) +#define VIEWER_AUTOSCROLL (BUTTON_SELECT | BUTTON_REL) +#define VIEWER_LINE_UP BUTTON_UP +#define VIEWER_LINE_DOWN BUTTON_DOWN + /* iriver H10 keys */ #elif CONFIG_KEYPAD == IRIVER_H10_PAD #define VIEWER_QUIT BUTTON_POWER -- cgit v1.1