diff options
Diffstat (limited to 'apps/plugins/snake.c')
-rw-r--r-- | apps/plugins/snake.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c index d457d3dbd6..a73e61d9ec 100644 --- a/apps/plugins/snake.c +++ b/apps/plugins/snake.c | |||
@@ -281,6 +281,14 @@ dir is the current direction of the snake - 0=up, 1=right, 2=down, 3=left; | |||
281 | #define SNAKE_QUIT BUTTON_POWER | 281 | #define SNAKE_QUIT BUTTON_POWER |
282 | #define SNAKE_PLAYPAUSE BUTTON_MENU | 282 | #define SNAKE_PLAYPAUSE BUTTON_MENU |
283 | 283 | ||
284 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
285 | #define SNAKE_QUIT BUTTON_POWER | ||
286 | #define SNAKE_LEFT BUTTON_LEFT | ||
287 | #define SNAKE_RIGHT BUTTON_RIGHT | ||
288 | #define SNAKE_UP BUTTON_UP | ||
289 | #define SNAKE_DOWN BUTTON_DOWN | ||
290 | #define SNAKE_PLAYPAUSE BUTTON_SELECT | ||
291 | |||
284 | #else | 292 | #else |
285 | #error No keymap defined! | 293 | #error No keymap defined! |
286 | #endif | 294 | #endif |