diff options
| author | Franklin Wei <git@fwei.tk> | 2017-07-12 12:21:20 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2017-07-12 12:23:21 -0400 |
| commit | 84e13d5749835234347c8f94f85ea2790980f44d (patch) | |
| tree | d9c8fb8d47f91443ee95a5576ad824336bffe0a6 /apps/plugins | |
| parent | f9198ba35c55bf8765e54c271f1598a181f5c268 (diff) | |
| download | rockbox-84e13d5749835234347c8f94f85ea2790980f44d.zip rockbox-84e13d5749835234347c8f94f85ea2790980f44d.tar.gz rockbox-84e13d5749835234347c8f94f85ea2790980f44d.tar.bz2 rockbox-84e13d5749835234347c8f94f85ea2790980f44d.tar.xz | |
puzzles: allow using hints in Fifteen
This maps the select button to the "h" key for Fifteen only.
Change-Id: I7a5a61cec46e86254218fabfb191974f98c12319
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/puzzles/rockbox.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c index 45e0df7..56bb83e 100644 --- a/apps/plugins/puzzles/rockbox.c +++ b/apps/plugins/puzzles/rockbox.c @@ -1493,7 +1493,10 @@ static int process_input(int tmo) break; case BTN_FIRE: - state = CURSOR_SELECT; + if(!strcmp("Fifteen", midend_which_game(me)->name)) + state = 'h'; /* hint */ + else + state = CURSOR_SELECT; break; default: |