diff options
author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2018-02-22 23:42:29 +0100 |
---|---|---|
committer | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2018-04-03 11:34:01 +0200 |
commit | 0486e5b93e422d0bd240439f02a8509a6c5bcbc5 (patch) | |
tree | c0da5e6a86d5f352e89cedaed515c3ce201481b9 /apps/plugins/mpegplayer | |
parent | fb3f7651fd68bf3b8c7e4dbd62dbb2b3505f929a (diff) | |
download | rockbox-0486e5b93e422d0bd240439f02a8509a6c5bcbc5.tar.gz rockbox-0486e5b93e422d0bd240439f02a8509a6c5bcbc5.zip |
Zen XFi2: Enable Plugins
Keymaps aren't tested, there may be room for improvement.
Change-Id: I6b8fe697899b241ea6e96f4fe446d88671ad7818
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_settings.c | 3 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c index f15269689a..d6b926b585 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.c +++ b/apps/plugins/mpegplayer/mpeg_settings.c | |||
@@ -295,6 +295,9 @@ struct mpeg_settings settings; | |||
295 | #define MPEG_START_TIME_UP BUTTON_VOL_UP | 295 | #define MPEG_START_TIME_UP BUTTON_VOL_UP |
296 | #define MPEG_START_TIME_DOWN BUTTON_VOL_DOWN | 296 | #define MPEG_START_TIME_DOWN BUTTON_VOL_DOWN |
297 | 297 | ||
298 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD | ||
299 | #define MPEG_START_TIME_EXIT BUTTON_POWER | ||
300 | |||
298 | #else | 301 | #else |
299 | #error No keymap defined! | 302 | #error No keymap defined! |
300 | #endif | 303 | #endif |
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 37a8456d55..056b46c7a1 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c | |||
@@ -427,6 +427,11 @@ CONFIG_KEYPAD == SANSA_M200_PAD | |||
427 | #define MPEG_PAUSE BUTTON_PLAY | 427 | #define MPEG_PAUSE BUTTON_PLAY |
428 | #define MPEG_STOP (BUTTON_PLAY|BUTTON_REPEAT) | 428 | #define MPEG_STOP (BUTTON_PLAY|BUTTON_REPEAT) |
429 | 429 | ||
430 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD | ||
431 | #define MPEG_MENU BUTTON_POWER | ||
432 | #define MPEG_PAUSE BUTTON_MENU | ||
433 | #define MPEG_STOP (BUTTON_MENU|BUTTON_REPEAT) | ||
434 | |||
430 | #else | 435 | #else |
431 | #error No keymap defined! | 436 | #error No keymap defined! |
432 | #endif | 437 | #endif |