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/snake.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugins/snake.c') diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c index eb1fb25b0d..55d91cb5f9 100644 --- a/apps/plugins/snake.c +++ b/apps/plugins/snake.c @@ -261,6 +261,14 @@ dir is the current direction of the snake - 0=up, 1=right, 2=down, 3=left; #define SNAKE_DOWN BUTTON_DOWN #define SNAKE_PLAYPAUSE BUTTON_PLAY +#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD +#define SNAKE_QUIT BUTTON_BACK +#define SNAKE_LEFT BUTTON_LEFT +#define SNAKE_RIGHT BUTTON_RIGHT +#define SNAKE_UP BUTTON_UP +#define SNAKE_DOWN BUTTON_DOWN +#define SNAKE_PLAYPAUSE BUTTON_PLAYPAUSE + #else #error No keymap defined! #endif -- cgit v1.2.3