From 2490262eee17c3dcff0a39fb4011662dfdfc4478 Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Sat, 24 Jan 2009 22:41:55 +0000 Subject: Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 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 7e03c559f4..f01afbba8c 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -314,6 +314,16 @@ PLUGIN_HEADER #define VIEWER_MENU BUTTON_MENU #define VIEWER_AUTOSCROLL BUTTON_SELECT +/* Philips HDD1630 keys */ +#elif CONFIG_KEYPAD == PHILIPS_HDD1630_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_MENU +#define VIEWER_AUTOSCROLL BUTTON_VIEW + #else #error No keymap defined! #endif -- cgit v1.2.3