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/snake2.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/snake2.c')
-rw-r--r-- | apps/plugins/snake2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c index 818dbfedf2..f32012e029 100644 --- a/apps/plugins/snake2.c +++ b/apps/plugins/snake2.c | |||
@@ -410,6 +410,15 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
410 | #define SNAKE2_PLAYPAUSE BUTTON_MENU | 410 | #define SNAKE2_PLAYPAUSE BUTTON_MENU |
411 | #define SNAKE2_PLAYPAUSE_TEXT "Menu" | 411 | #define SNAKE2_PLAYPAUSE_TEXT "Menu" |
412 | 412 | ||
413 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
414 | #define SNAKE2_LEFT BUTTON_LEFT | ||
415 | #define SNAKE2_RIGHT BUTTON_RIGHT | ||
416 | #define SNAKE2_UP BUTTON_UP | ||
417 | #define SNAKE2_DOWN BUTTON_DOWN | ||
418 | #define SNAKE2_QUIT BUTTON_POWER | ||
419 | #define SNAKE2_PLAYPAUSE BUTTON_SELECT | ||
420 | #define SNAKE2_PLAYPAUSE_TEXT "Select" | ||
421 | |||
413 | #else | 422 | #else |
414 | #error No keymap defined! | 423 | #error No keymap defined! |
415 | #endif | 424 | #endif |