diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-03-02 21:53:55 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2018-06-12 10:31:15 +0200 |
commit | fbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch) | |
tree | e4bf533e945a03887620361ad110b3612321d67d /apps/plugins/snake.c | |
parent | 0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff) | |
download | rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip |
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola.
Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
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 |