diff options
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r-- | apps/plugins/sokoban.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index 4940ac24ab..4d2de8aedb 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c | |||
@@ -252,6 +252,22 @@ PLUGIN_HEADER | |||
252 | #define BUTTON_SAVE BUTTON_SELECT | 252 | #define BUTTON_SAVE BUTTON_SELECT |
253 | #define BUTTON_SAVE_NAME "SELECT" | 253 | #define BUTTON_SAVE_NAME "SELECT" |
254 | 254 | ||
255 | #elif CONFIG_KEYPAD == SANSA_M200_PAD | ||
256 | #define SOKOBAN_LEFT BUTTON_LEFT | ||
257 | #define SOKOBAN_RIGHT BUTTON_RIGHT | ||
258 | #define SOKOBAN_UP BUTTON_UP | ||
259 | #define SOKOBAN_DOWN BUTTON_DOWN | ||
260 | #define SOKOBAN_MENU BUTTON_POWER | ||
261 | #define SOKOBAN_UNDO_PRE BUTTON_SELECT | ||
262 | #define SOKOBAN_UNDO (BUTTON_SELECT | BUTTON_REL) | ||
263 | #define SOKOBAN_REDO (BUTTON_SELECT | BUTTON_UP) | ||
264 | #define SOKOBAN_LEVEL_DOWN BUTTON_VOL_DOWN | ||
265 | #define SOKOBAN_LEVEL_REPEAT (BUTTON_SELECT | BUTTON_RIGHT) | ||
266 | #define SOKOBAN_LEVEL_UP BUTTON_VOL_UP | ||
267 | #define SOKOBAN_PAUSE BUTTON_SELECT | ||
268 | #define BUTTON_SAVE BUTTON_SELECT | ||
269 | #define BUTTON_SAVE_NAME "SELECT" | ||
270 | |||
255 | #elif CONFIG_KEYPAD == GIGABEAT_S_PAD | 271 | #elif CONFIG_KEYPAD == GIGABEAT_S_PAD |
256 | #define SOKOBAN_LEFT BUTTON_LEFT | 272 | #define SOKOBAN_LEFT BUTTON_LEFT |
257 | #define SOKOBAN_RIGHT BUTTON_RIGHT | 273 | #define SOKOBAN_RIGHT BUTTON_RIGHT |