diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2008-12-12 19:50:49 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2008-12-12 19:50:49 +0000 |
commit | 90bcf9be5ec65894fa75bfc546c6d2a8365ec899 (patch) | |
tree | af8b2db20169a29de52056354e13034ea3d8839c /apps/plugins/viewer.c | |
parent | 790f5ae1e0f90bcbb85950a60b8597e4e40ed0ba (diff) | |
download | rockbox-90bcf9be5ec65894fa75bfc546c6d2a8365ec899.tar.gz rockbox-90bcf9be5ec65894fa75bfc546c6d2a8365ec899.zip |
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
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r-- | apps/plugins/viewer.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 4cef7c5879..625ab93cc4 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -209,6 +209,18 @@ PLUGIN_HEADER | |||
209 | #define VIEWER_LINE_UP BUTTON_UP | 209 | #define VIEWER_LINE_UP BUTTON_UP |
210 | #define VIEWER_LINE_DOWN BUTTON_DOWN | 210 | #define VIEWER_LINE_DOWN BUTTON_DOWN |
211 | 211 | ||
212 | /* Sansa M200 keys */ | ||
213 | #elif CONFIG_KEYPAD == SANSA_M200_PAD | ||
214 | #define VIEWER_QUIT BUTTON_POWER | ||
215 | #define VIEWER_PAGE_UP BUTTON_VOL_UP | ||
216 | #define VIEWER_PAGE_DOWN BUTTON_VOL_DOWN | ||
217 | #define VIEWER_SCREEN_LEFT BUTTON_LEFT | ||
218 | #define VIEWER_SCREEN_RIGHT BUTTON_RIGHT | ||
219 | #define VIEWER_MENU (BUTTON_SELECT | BUTTON_UP) | ||
220 | #define VIEWER_AUTOSCROLL (BUTTON_SELECT | BUTTON_REL) | ||
221 | #define VIEWER_LINE_UP BUTTON_UP | ||
222 | #define VIEWER_LINE_DOWN BUTTON_DOWN | ||
223 | |||
212 | /* iriver H10 keys */ | 224 | /* iriver H10 keys */ |
213 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD | 225 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD |
214 | #define VIEWER_QUIT BUTTON_POWER | 226 | #define VIEWER_QUIT BUTTON_POWER |