From e08331eef4555a17145d2fd2af1d5a9b5ce6d624 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 17 Jul 2014 10:40:17 +0200 Subject: 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 --- apps/plugins/cube.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/plugins/cube.c') diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index de548ce308..5331d531db 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c @@ -380,6 +380,16 @@ #define CUBE_PAUSE BUTTON_PLAY #define CUBE_HIGHSPEED (BUTTON_POWER|BUTTON_DOWN) +#elif (CONFIG_KEYPAD == CREATIVE_ZEN_PAD) +#define CUBE_QUIT BUTTON_BACK +#define CUBE_NEXT BUTTON_RIGHT +#define CUBE_PREV BUTTON_LEFT +#define CUBE_INC BUTTON_UP +#define CUBE_DEC BUTTON_DOWN +#define CUBE_MODE BUTTON_MENU +#define CUBE_PAUSE BUTTON_PLAYPAUSE +#define CUBE_HIGHSPEED BUTTON_SHORTCUT + #else #error No keymap defined! #endif -- cgit v1.2.3