This commit is contained in:
Henrik Rydgård
2023-04-01 19:02:20 +02:00
parent 5a82e58564
commit d523005c2b
2 changed files with 2 additions and 4 deletions
-4
View File
@@ -298,11 +298,7 @@ bool ControlMapper::UpdatePSPState(const InputMapping &changedMapping) {
// Note: This is an old problem, it didn't appear with the refactoring.
if (!changedMapping.IsAxis()) {
for (auto &multiMapping : inputMappings) {
bool anyAxis = false;
for (auto &mapping : multiMapping.mappings) {
if (mapping.IsAxis()) {
anyAxis = true;
}
curInput_[mapping] = ReduceMagnitude(curInput_[mapping]);
}
}