settings: Fix mouse and keyboard mappings

This commit is contained in:
german77 authored and Narr the Reg committed 2021-11-24 20:30:25 -06:00
1 parent cc651c7c99
commit 464c4d26ac
10 files changed
+100 -103

No files matched your search

+3
View File
@@ -143,6 +143,9 @@ struct InputSubsystem::Impl {
return {};
}
const std::string engine = params.Get("engine", "");
if (engine == mouse->GetEngineName()) {
return mouse->GetAnalogMappingForDevice(params);
}
if (engine == gcadapter->GetEngineName()) {
return gcadapter->GetAnalogMappingForDevice(params);
}