We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f6c4b commit d153d4cCopy full SHA for d153d4c
settings.json
@@ -12,7 +12,7 @@
12
"rotate_left": "Left",
13
"rotate_right": "Right",
14
"menu": {
15
- "pause": "Escape",
+ "pause": "Space",
16
"open_settings": "P"
17
}
18
},
src/input/keyboard_input.hpp
@@ -1,5 +1,6 @@
1
#pragma once
2
3
+#include "SDL_keycode.h"
4
#include "game_input.hpp"
5
#include "helper/expected.hpp"
6
#include "helper/parse_json.hpp"
@@ -49,7 +50,7 @@ namespace input {
49
50
.move_down = sdl::Key{ SDLK_s },
51
.drop = sdl::Key{ SDLK_w },
52
.hold = sdl::Key{ SDLK_TAB },
- .pause = sdl::Key{ SDLK_ESCAPE },
53
+ .pause = sdl::Key{ SDLK_SPACE },
54
.open_settings = sdl::Key{ SDLK_e } };
55
56
};
0 commit comments