summaryrefslogtreecommitdiff
path: root/apps/plugins/snake.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-07-17 10:40:17 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-07-17 10:40:17 +0200
commite08331eef4555a17145d2fd2af1d5a9b5ce6d624 (patch)
treedb41fe84f8175d36525ccb7ae21995584a008253 /apps/plugins/snake.c
parent2387d92c9c39f238d3d193d970edf30162d8ec9e (diff)
downloadrockbox-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/snake.c')
-rw-r--r--apps/plugins/snake.c8
1 files changed, 8 insertions, 0 deletions
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;
261#define SNAKE_DOWN BUTTON_DOWN 261#define SNAKE_DOWN BUTTON_DOWN
262#define SNAKE_PLAYPAUSE BUTTON_PLAY 262#define SNAKE_PLAYPAUSE BUTTON_PLAY
263 263
264#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD
265#define SNAKE_QUIT BUTTON_BACK
266#define SNAKE_LEFT BUTTON_LEFT
267#define SNAKE_RIGHT BUTTON_RIGHT
268#define SNAKE_UP BUTTON_UP
269#define SNAKE_DOWN BUTTON_DOWN
270#define SNAKE_PLAYPAUSE BUTTON_PLAYPAUSE
271
264#else 272#else
265#error No keymap defined! 273#error No keymap defined!
266#endif 274#endif