From b09d3aec392538ca0934644ff6357c41aaa4c323 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Mon, 26 Apr 2010 21:40:00 +0000 Subject: Add MPIO HD200 port - changed files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/plugins/viewer.c') diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 9ebc1d9cf6..ed84d26f28 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -486,6 +486,16 @@ PLUGIN_HEADER #define VIEWER_AUTOSCROLL BUTTON_PLAY #define VIEWER_BOOKMARK BUTTON_POWER +#elif CONFIG_KEYPAD == MPIO_HD200_PAD +#define VIEWER_QUIT (BUTTON_REC | BUTTON_PLAY) +#define VIEWER_PAGE_UP BUTTON_PREV +#define VIEWER_PAGE_DOWN BUTTON_NEXT +#define VIEWER_SCREEN_LEFT BUTTON_VOL_DOWN +#define VIEWER_SCREEN_RIGHT BUTTON_VOL_UP +#define VIEWER_MENU BUTTON_SELECT +#define VIEWER_AUTOSCROLL BUTTON_PLAY +#define VIEWER_BOOKMARK BUTTON_REC + #else #error No keymap defined! #endif -- cgit v1.2.3