diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-07-17 10:40:17 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-07-17 10:40:17 +0200 |
commit | e08331eef4555a17145d2fd2af1d5a9b5ce6d624 (patch) | |
tree | db41fe84f8175d36525ccb7ae21995584a008253 /apps/plugins/star.c | |
parent | 2387d92c9c39f238d3d193d970edf30162d8ec9e (diff) | |
download | rockbox-e08331eef4555a17145d2fd2af1d5a9b5ce6d624.tar.gz rockbox-e08331eef4555a17145d2fd2af1d5a9b5ce6d624.zip |
zen/zenxfi/zenxfistyle/zenmozaic: implement plugin keymaps and enable plugins
Plugins on the ZEN/ZEN X-Fi require to increase the plugin buffer size.
Change-Id: If4651c87b402060faa24530985c6e871379c8ea1
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r-- | apps/plugins/star.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c index a7ef116d15..b43c05ebf5 100644 --- a/apps/plugins/star.c +++ b/apps/plugins/star.c | |||
@@ -565,6 +565,22 @@ | |||
565 | #define STAR_TOGGLE_CONTROL_NAME "Play" | 565 | #define STAR_TOGGLE_CONTROL_NAME "Play" |
566 | #define STAR_QUIT_NAME "Back" | 566 | #define STAR_QUIT_NAME "Back" |
567 | 567 | ||
568 | #elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD | ||
569 | #define STAR_QUIT BUTTON_BACK | ||
570 | #define STAR_LEFT BUTTON_LEFT | ||
571 | #define STAR_RIGHT BUTTON_RIGHT | ||
572 | #define STAR_UP BUTTON_UP | ||
573 | #define STAR_DOWN BUTTON_DOWN | ||
574 | #define STAR_TOGGLE_CONTROL BUTTON_SELECT | ||
575 | #define STAR_LEVEL_UP BUTTON_MENU | ||
576 | #define STAR_LEVEL_DOWN BUTTON_PLAYPAUSE | ||
577 | #define STAR_LEVEL_REPEAT BUTTON_SHORTCUT | ||
578 | #define STAR_LEVEL_UP_NAME "Menu" | ||
579 | #define STAR_LEVEL_DOWN_NAME "Play/pause" | ||
580 | #define STAR_LEVEL_REPEAT_NAME "Shortcut" | ||
581 | #define STAR_TOGGLE_CONTROL_NAME "Select" | ||
582 | #define STAR_QUIT_NAME "Back" | ||
583 | |||
568 | #else | 584 | #else |
569 | #error No keymap defined! | 585 | #error No keymap defined! |
570 | #endif | 586 | #endif |