diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-03-22 22:03:34 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-03-22 22:03:34 +0000 |
commit | 554d7ed9025bf629f9202c4e5c106f62853207a3 (patch) | |
tree | bbdfea0c02e0d1d241bb9e8bebd75c69176f8e16 /apps/plugins/viewer.c | |
parent | ecde125fa7888a8d0c1fbfac1584caf5f58aa9a7 (diff) | |
download | rockbox-554d7ed9025bf629f9202c4e5c106f62853207a3.tar.gz rockbox-554d7ed9025bf629f9202c4e5c106f62853207a3.zip |
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r-- | apps/plugins/viewer.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index a7be5db33c..a4619269e5 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -244,6 +244,15 @@ PLUGIN_HEADER | |||
244 | 244 | ||
245 | #define VIEWER_RC_QUIT BUTTON_REC | 245 | #define VIEWER_RC_QUIT BUTTON_REC |
246 | 246 | ||
247 | #elif CONFIG_KEYPAD == COWOND2_PAD | ||
248 | #define VIEWER_QUIT BUTTON_POWER | ||
249 | #define VIEWER_PAGE_UP BUTTON_UP | ||
250 | #define VIEWER_PAGE_DOWN BUTTON_DOWN | ||
251 | #define VIEWER_SCREEN_LEFT BUTTON_LEFT | ||
252 | #define VIEWER_SCREEN_RIGHT BUTTON_RIGHT | ||
253 | #define VIEWER_MENU BUTTON_MENU | ||
254 | #define VIEWER_AUTOSCROLL BUTTON_SELECT | ||
255 | |||
247 | #else | 256 | #else |
248 | #error No keymap defined! | 257 | #error No keymap defined! |
249 | #endif | 258 | #endif |