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/jpeg/jpeg.h | |
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/jpeg/jpeg.h')
-rw-r--r-- | apps/plugins/jpeg/jpeg.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/jpeg/jpeg.h b/apps/plugins/jpeg/jpeg.h index 178ff2dae5..23347b9e2a 100644 --- a/apps/plugins/jpeg/jpeg.h +++ b/apps/plugins/jpeg/jpeg.h | |||
@@ -163,6 +163,21 @@ | |||
163 | #define JPEG_PREVIOUS BUTTON_VOL_DOWN | 163 | #define JPEG_PREVIOUS BUTTON_VOL_DOWN |
164 | #define JPEG_PREVIOUS_REPEAT (BUTTON_VOL_DOWN|BUTTON_REPEAT) | 164 | #define JPEG_PREVIOUS_REPEAT (BUTTON_VOL_DOWN|BUTTON_REPEAT) |
165 | 165 | ||
166 | #elif CONFIG_KEYPAD == SANSA_M200_PAD | ||
167 | #define JPEG_ZOOM_PRE BUTTON_SELECT | ||
168 | #define JPEG_ZOOM_IN (BUTTON_SELECT | BUTTON_REL) | ||
169 | #define JPEG_ZOOM_OUT (BUTTON_SELECT | BUTTON_REPEAT) | ||
170 | #define JPEG_UP BUTTON_UP | ||
171 | #define JPEG_DOWN BUTTON_DOWN | ||
172 | #define JPEG_LEFT BUTTON_LEFT | ||
173 | #define JPEG_RIGHT BUTTON_RIGHT | ||
174 | #define JPEG_MENU BUTTON_POWER | ||
175 | #define JPEG_SLIDE_SHOW (BUTTON_SELECT | BUTTON_UP) | ||
176 | #define JPEG_NEXT BUTTON_VOL_UP | ||
177 | #define JPEG_NEXT_REPEAT (BUTTON_VOL_UP|BUTTON_REPEAT) | ||
178 | #define JPEG_PREVIOUS BUTTON_VOL_DOWN | ||
179 | #define JPEG_PREVIOUS_REPEAT (BUTTON_VOL_DOWN|BUTTON_REPEAT) | ||
180 | |||
166 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD | 181 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD |
167 | #define JPEG_ZOOM_PRE BUTTON_PLAY | 182 | #define JPEG_ZOOM_PRE BUTTON_PLAY |
168 | #define JPEG_ZOOM_IN (BUTTON_PLAY | BUTTON_REL) | 183 | #define JPEG_ZOOM_IN (BUTTON_PLAY | BUTTON_REL) |