aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/input.c
diff options
context:
space:
mode:
authorptitSeb2017-12-15 10:25:19 +0100
committerptitSeb2017-12-15 10:25:19 +0100
commit9af530468e3f7fcb585efca91e9d85659a4c3640 (patch)
tree036ff4705ffcaf562b8bf11c121eb077237b7f0c /src/sdl/input.c
parent9918763c41070ae06d55eb198031f223ff60f72b (diff)
downloadhydracastlelabyrinth-9af530468e3f7fcb585efca91e9d85659a4c3640.tar.gz
hydracastlelabyrinth-9af530468e3f7fcb585efca91e9d85659a4c3640.tar.bz2
hydracastlelabyrinth-9af530468e3f7fcb585efca91e9d85659a4c3640.zip
Added ESC (with space) the bring the main ingame menu
Diffstat (limited to 'src/sdl/input.c')
-rw-r--r--src/sdl/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sdl/input.c b/src/sdl/input.c
index 26fbbf1..bf9de55 100644
--- a/src/sdl/input.c
+++ b/src/sdl/input.c
@@ -76,7 +76,8 @@ void Input_KeyEvent(SDL_Event* evt)
case SDLK_d: bFaceRight = w; break;
case SDLK_r: bR = w; break;
case SDLK_w: bL = w; break;
- case SDLK_SPACE: bSelect = w; break;
+ case SDLK_SPACE: bSelect = w; break;
+ case SDLK_ESCAPE: bSelect = w; break;
case SDLK_RETURN: bStart = w; break;
#endif
}