settings: Fix mouse and keyboard mappings
This commit is contained in:
parent
6743753bc7
commit
d1bac9024d
10 changed files with 100 additions and 103 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue