diff options
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r-- | apps/plugins/sokoban.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index 994a1172c8..e823518ddb 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c | |||
@@ -75,6 +75,16 @@ PLUGIN_HEADER | |||
75 | #define SOKOBAN_LEVEL_DOWN (BUTTON_SELECT | BUTTON_LEFT) | 75 | #define SOKOBAN_LEVEL_DOWN (BUTTON_SELECT | BUTTON_LEFT) |
76 | #define SOKOBAN_LEVEL_REPEAT (BUTTON_SELECT | BUTTON_PLAY) | 76 | #define SOKOBAN_LEVEL_REPEAT (BUTTON_SELECT | BUTTON_PLAY) |
77 | 77 | ||
78 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
79 | #define SOKOBAN_UP BUTTON_UP | ||
80 | #define SOKOBAN_DOWN BUTTON_DOWN | ||
81 | #define SOKOBAN_QUIT BUTTON_POWER | ||
82 | #define SOKOBAN_UNDO_PRE BUTTON_MENU | ||
83 | #define SOKOBAN_UNDO (BUTTON_MENU | BUTTON_REL) | ||
84 | #define SOKOBAN_LEVEL_UP (BUTTON_PLAY | BUTTON_UP) | ||
85 | #define SOKOBAN_LEVEL_DOWN (BUTTON_PLAY | BUTTON_DOWN) | ||
86 | #define SOKOBAN_LEVEL_REPEAT BUTTON_REC | ||
87 | |||
78 | #endif | 88 | #endif |
79 | 89 | ||
80 | #if LCD_DEPTH > 1 | 90 | #if LCD_DEPTH > 1 |