From 1414ff7c199e8f337c8132b69089096da8ea8220 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 6 Jun 2008 23:40:03 +0000 Subject: [PATCH] Fix inconsistency between DItoGI and GItoDI. ReadMappings was updating GItoDI and we didn't update DItoGI; AddDefaultMappings would then not add the keyboard mappings (since that uses DItoGI), and we'd end up with keyboard buttons half-mapped. --- stepmania/src/InputMapper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index 8bd27fb9d8..77aeaf8e95 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -652,6 +652,7 @@ static const RString DEVICE_INPUT_SEPARATOR = ":"; // this isn't used in any key void InputMapper::ReadMappingsFromDisk() { m_mappings.ReadMappings( m_pInputScheme, SpecialFiles::KEYMAPS_PATH, false ); + UpdateTempDItoGI(); AddDefaultMappingsForCurrentGameIfUnmapped(); }