summaryrefslogtreecommitdiff
path: root/apps/plugins/sokoban.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r--apps/plugins/sokoban.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index f8e73682dc..9ac98fe49f 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -276,6 +276,20 @@ PLUGIN_HEADER
276#define SOKOBAN_MENU BUTTON_MENU 276#define SOKOBAN_MENU BUTTON_MENU
277#define SOKOBAN_MENU_NAME "[MENU]" 277#define SOKOBAN_MENU_NAME "[MENU]"
278 278
279#elif CONFIG_KEYPAD == IAUDIO67_PAD
280#define SOKOBAN_LEFT BUTTON_LEFT
281#define SOKOBAN_RIGHT BUTTON_RIGHT
282#define SOKOBAN_UP BUTTON_STOP
283#define SOKOBAN_DOWN BUTTON_PLAY
284#define SOKOBAN_MENU BUTTON_MENU
285#define SOKOBAN_UNDO BUTTON_VOLDOWN
286#define SOKOBAN_REDO BUTTON_VOLUP
287#define SOKOBAN_PAUSE (BUTTON_MENU|BUTTON_LEFT)
288#define BUTTON_SAVE (BUTTON_MENU|BUTTON_PLAY)
289#define BUTTON_SAVE_NAME "MENU+PLAY"
290
291#define SOKOBAN_RC_MENU (BUTTON_MENU|BUTTON_STOP)
292
279#else 293#else
280#error No keymap defined! 294#error No keymap defined!
281#endif 295#endif