diff options
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_settings.c | 3 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c index 3452903b47..3edb2987a1 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.c +++ b/apps/plugins/mpegplayer/mpeg_settings.c | |||
@@ -162,6 +162,9 @@ struct mpeg_settings settings; | |||
162 | #define MPEG_START_TIME_SCROLL_UP BUTTON_VOL_UP | 162 | #define MPEG_START_TIME_SCROLL_UP BUTTON_VOL_UP |
163 | #define MPEG_START_TIME_EXIT BUTTON_POWER | 163 | #define MPEG_START_TIME_EXIT BUTTON_POWER |
164 | 164 | ||
165 | #elif CONFIG_KEYPAD == ONDAVX747_PAD | ||
166 | #define MPEG_START_TIME_EXIT BUTTON_POWER | ||
167 | |||
165 | #else | 168 | #else |
166 | #error No keymap defined! | 169 | #error No keymap defined! |
167 | #endif | 170 | #endif |
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index e9e742a6a5..89c76efd98 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c | |||
@@ -268,6 +268,12 @@ CONFIG_KEYPAD == SANSA_M200_PAD | |||
268 | #define MPEG_RW BUTTON_LEFT | 268 | #define MPEG_RW BUTTON_LEFT |
269 | #define MPEG_FF BUTTON_RIGHT | 269 | #define MPEG_FF BUTTON_RIGHT |
270 | 270 | ||
271 | #elif CONFIG_KEYPAD == ONDAVX747_PAD | ||
272 | #define MPEG_MENU (BUTTON_MENU|BUTTON_REL) | ||
273 | //#define MPEG_STOP BUTTON_POWER | ||
274 | #define MPEG_VOLDOWN BUTTON_VOL_DOWN | ||
275 | #define MPEG_VOLUP BUTTON_VOL_UP | ||
276 | |||
271 | #else | 277 | #else |
272 | #error No keymap defined! | 278 | #error No keymap defined! |
273 | #endif | 279 | #endif |