diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2013-03-10 12:49:06 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2013-03-10 12:49:06 +0000 |
| commit | 9dcba6a8cfe48da21df47f32e43aad10b8f52dae (patch) | |
| tree | fc2357a4036377e3e36b8fad92ee3cd76ab825e7 | |
| parent | 0d62b4a688bb105fa951d0d7c309a055eeb35893 (diff) | |
| download | puzzles-9dcba6a8cfe48da21df47f32e43aad10b8f52dae.zip puzzles-9dcba6a8cfe48da21df47f32e43aad10b8f52dae.tar.gz puzzles-9dcba6a8cfe48da21df47f32e43aad10b8f52dae.tar.bz2 puzzles-9dcba6a8cfe48da21df47f32e43aad10b8f52dae.tar.xz | |
Make Unruly's keyboard controls match the documentation and other puzzles in
the collection -- now Enter = black and Space = white.
[originally from svn r9770]
| -rw-r--r-- | unruly.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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] == |