From 9dcba6a8cfe48da21df47f32e43aad10b8f52dae Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sun, 10 Mar 2013 12:49:06 +0000 Subject: [PATCH] Make Unruly's keyboard controls match the documentation and other puzzles in the collection -- now Enter = black and Space = white. [originally from svn r9770] --- unruly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unruly.c b/unruly.c index 3383b5f..d2ea9aa 100644 --- a/unruly.c +++ b/unruly.c @@ -1362,9 +1362,9 @@ static char *interpret_move(game_state *state, game_ui *ui, c = '-'; /* Cycle through options */ - else if (button == CURSOR_SELECT || button == RIGHT_BUTTON) + else if (button == CURSOR_SELECT2 || button == RIGHT_BUTTON) c = (i == EMPTY ? '0' : i == N_ZERO ? '1' : '-'); - else if (button == CURSOR_SELECT2 || button == LEFT_BUTTON) + else if (button == CURSOR_SELECT || button == LEFT_BUTTON) c = (i == EMPTY ? '1' : i == N_ONE ? '0' : '-'); if (state->grid[hy * w2 + hx] ==