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.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index 4d3bab2b6c..2bf90f6fd5 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -501,15 +501,17 @@
#define SOKOBAN_RIGHT BUTTON_RIGHT
#define SOKOBAN_UP BUTTON_UP
#define SOKOBAN_DOWN BUTTON_DOWN
-#define SOKOBAN_MENU BUTTON_SELECT
-#define SOKOBAN_UNDO (BUTTON_BACK|BUTTON_SELECT)
-#define SOKOBAN_REDO (BUTTON_PLAYPAUSE|BUTTON_SELECT)
-#define SOKOBAN_LEVEL_DOWN BUTTON_VOL_DOWN
+#define SOKOBAN_MENU BUTTON_POWER
+#define SOKOBAN_UNDO_PRE BUTTON_BOTTOMLEFT
+#define SOKOBAN_UNDO (BUTTON_BOTTOMLEFT|BUTTON_REL)
+#define SOKOBAN_REDO_PRE BUTTON_BOTTOMRIGHT
+#define SOKOBAN_REDO (BUTTON_BOTTOMRIGHT|BUTTON_REL)
#define SOKOBAN_LEVEL_REPEAT BUTTON_BACK
+#define SOKOBAN_LEVEL_DOWN BUTTON_VOL_DOWN
#define SOKOBAN_LEVEL_UP BUTTON_VOL_UP
#define SOKOBAN_PAUSE BUTTON_PLAYPAUSE
#define BUTTON_SAVE (BUTTON_SELECT|BUTTON_REPEAT)
-#define BUTTON_SAVE_NAME "SELECT LONG"
+#define BUTTON_SAVE_NAME "SELECT LONG"
#elif CONFIG_KEYPAD == SANSA_CONNECT_PAD
#define SOKOBAN_LEFT BUTTON_LEFT