diff options
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer_button.h')
-rw-r--r-- | apps/plugins/imageviewer/imageviewer_button.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/apps/plugins/imageviewer/imageviewer_button.h b/apps/plugins/imageviewer/imageviewer_button.h index dfdd39ffa4..46813d5e69 100644 --- a/apps/plugins/imageviewer/imageviewer_button.h +++ b/apps/plugins/imageviewer/imageviewer_button.h | |||
@@ -25,31 +25,8 @@ | |||
25 | #include "plugin.h" | 25 | #include "plugin.h" |
26 | 26 | ||
27 | /* variable button definitions */ | 27 | /* variable button definitions */ |
28 | #if CONFIG_KEYPAD == RECORDER_PAD | 28 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
29 | #define IMGVIEW_ZOOM_IN BUTTON_PLAY | 29 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
30 | #define IMGVIEW_ZOOM_OUT BUTTON_ON | ||
31 | #define IMGVIEW_UP BUTTON_UP | ||
32 | #define IMGVIEW_DOWN BUTTON_DOWN | ||
33 | #define IMGVIEW_LEFT BUTTON_LEFT | ||
34 | #define IMGVIEW_RIGHT BUTTON_RIGHT | ||
35 | #define IMGVIEW_NEXT BUTTON_F3 | ||
36 | #define IMGVIEW_PREVIOUS BUTTON_F2 | ||
37 | #define IMGVIEW_MENU BUTTON_OFF | ||
38 | |||
39 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
40 | #define IMGVIEW_ZOOM_PRE BUTTON_MENU | ||
41 | #define IMGVIEW_ZOOM_IN (BUTTON_MENU | BUTTON_REL) | ||
42 | #define IMGVIEW_ZOOM_OUT (BUTTON_MENU | BUTTON_DOWN) | ||
43 | #define IMGVIEW_UP BUTTON_UP | ||
44 | #define IMGVIEW_DOWN BUTTON_DOWN | ||
45 | #define IMGVIEW_LEFT BUTTON_LEFT | ||
46 | #define IMGVIEW_RIGHT BUTTON_RIGHT | ||
47 | #define IMGVIEW_NEXT (BUTTON_MENU | BUTTON_RIGHT) | ||
48 | #define IMGVIEW_PREVIOUS (BUTTON_MENU | BUTTON_LEFT) | ||
49 | #define IMGVIEW_MENU BUTTON_OFF | ||
50 | |||
51 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
52 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
53 | #define IMGVIEW_ZOOM_IN BUTTON_SELECT | 30 | #define IMGVIEW_ZOOM_IN BUTTON_SELECT |
54 | #define IMGVIEW_ZOOM_OUT BUTTON_MODE | 31 | #define IMGVIEW_ZOOM_OUT BUTTON_MODE |
55 | #define IMGVIEW_UP BUTTON_UP | 32 | #define IMGVIEW_UP BUTTON_UP |