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/sokoban.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/sokoban.c')
-rw-r--r-- | apps/plugins/sokoban.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index 4903e47cf5..af369f82a6 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c | |||
@@ -416,6 +416,18 @@ | |||
416 | #define BUTTON_SAVE BUTTON_PLAYPAUSE | 416 | #define BUTTON_SAVE BUTTON_PLAYPAUSE |
417 | #define BUTTON_SAVE_NAME "Play/pause" | 417 | #define BUTTON_SAVE_NAME "Play/pause" |
418 | 418 | ||
419 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
420 | #define SOKOBAN_LEFT BUTTON_LEFT | ||
421 | #define SOKOBAN_RIGHT BUTTON_RIGHT | ||
422 | #define SOKOBAN_UP BUTTON_UP | ||
423 | #define SOKOBAN_DOWN BUTTON_DOWN | ||
424 | #define SOKOBAN_MENU BUTTON_POWER | ||
425 | #define SOKOBAN_UNDO BUTTON_VOLUP | ||
426 | #define SOKOBAN_REDO BUTTON_VOLDOWN | ||
427 | #define SOKOBAN_PAUSE BUTTON_SELECT | ||
428 | #define BUTTON_SAVE BUTTON_SELECT | ||
429 | #define BUTTON_SAVE_NAME "Select" | ||
430 | |||
419 | #elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD | 431 | #elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD |
420 | #define SOKOBAN_LEFT BUTTON_LEFT | 432 | #define SOKOBAN_LEFT BUTTON_LEFT |
421 | #define SOKOBAN_RIGHT BUTTON_RIGHT | 433 | #define SOKOBAN_RIGHT BUTTON_RIGHT |