diff options
Diffstat (limited to 'runtime/src/main.cpp')
| -rw-r--r-- | runtime/src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp index 8e3767740..a108a20fd 100644 --- a/runtime/src/main.cpp +++ b/runtime/src/main.cpp | |||
| @@ -173,7 +173,9 @@ bool configure_first_run_ui(const std::filesystem::path& package, std::filesyste | |||
| 173 | {L"LEONIDA_D3D12", L"vulkan"}, {L"LEONIDA_ARENA_MB", L"2048"}, | 173 | {L"LEONIDA_D3D12", L"vulkan"}, {L"LEONIDA_ARENA_MB", L"2048"}, |
| 174 | {L"LEONIDA_GRAPHICS_STAGE_LAYOUT", L"1"}, {L"LEONIDA_PIPELINE_COMPILE", L"on-demand"}, | 174 | {L"LEONIDA_GRAPHICS_STAGE_LAYOUT", L"1"}, {L"LEONIDA_PIPELINE_COMPILE", L"on-demand"}, |
| 175 | {L"LEONIDA_GPU_LABELS", L"1"}, {L"LEONIDA_FRAME_PACING", L"1"}, | 175 | {L"LEONIDA_GPU_LABELS", L"1"}, {L"LEONIDA_FRAME_PACING", L"1"}, |
| 176 | {L"LEONIDA_KEYBOARD_PAD", L"always"}, | 176 | // Focused, not always: keys typed into another window must not press anything on a consent page. |
| 177 | // Scripted presses (LEONIDA_INPUT_SCRIPT) still run while the window is unfocused. | ||
| 178 | {L"LEONIDA_KEYBOARD_PAD", L"1"}, | ||
| 177 | }; | 179 | }; |
| 178 | for (const auto& setting : settings) { | 180 | for (const auto& setting : settings) { |
| 179 | if (!set_default(setting.name, setting.value)) return false; | 181 | if (!set_default(setting.name, setting.value)) return false; |