Skip to content

Commit fbcc257

Browse files
committed
Fix: Allow custom keybinds for capture
Resolves an issue where rtx.captureHotKey did not correctly parse multiple keys or certain custom key combinations. - Adjusted key parsing logic in config.cpp to handle multiple valid keys. - Reverted the default value of bWaitForKeyConfig to false to maintain correct behavior when the config value is empty, as suggested in review. - Added skurtyyskirts to the contributors list in dxvk_imgui_about.cpp.
1 parent 63d4a8c commit fbcc257

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

src/dxvk/imgui/dxvk_imgui_about.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ namespace dxvk {
9696
"Alexander 'xoxor4d' Engel",
9797
"James Horsley 'mmdanggg2'",
9898
"Leonardo Leotte",
99+
"Jeffrey (skurtyyskirts) Munoz",
99100
"Nico Rodrigues-McKenna",
100101
"Friedrich 'pixelcluster' Vock",
101102
"James 'jdswebb' Webb",
@@ -213,7 +214,7 @@ namespace dxvk {
213214
m_validCodeHashesEntered.clear();
214215
for(auto [hash, secretReplacements] : secretReplacements) {
215216
for(auto& secretReplacement : secretReplacements) {
216-
const bool bUnlocked =
217+
const bool bUnlocked =
217218
(m_validCodeHashesEntered.count(secretReplacement.unlockHash) > 0) ||
218219
(secretReplacement.unlockHash == 0x0);
219220
m_organizedSecrets[secretReplacement.header].push_back(Secret{
@@ -292,4 +293,4 @@ namespace dxvk {
292293
}
293294
}
294295
}
295-
}
296+
} // namespace dxvk

src/util/config/config.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ namespace dxvk {
460460
{ R"(\\hl2\.exe$)", {{
461461
{ "rtx.baseGameModRegex", std::string("sourcemods") },
462462
{ "rtx.baseGameModPathRegex", std::string("-game \"([a-zA-Z]:.*sourcemods.*)\"") },
463-
{ "rtx.showRaytracingOption", "False" },
463+
{ "rtx.showRaytracingOption", "True" },
464464
{ "rtx.lightConverter",
465465
"2ef850e6fbfd8c87,"
466466
"11bdb0aec66e413a,"

submodules/nrc

Submodule nrc deleted from b133945

submodules/nvapi

Submodule nvapi deleted from d08488f

submodules/rtxcr

Submodule rtxcr deleted from 5041cfa

0 commit comments

Comments
 (0)