diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-24 18:22:20 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:25 +0100 |
commit | 464c4d26ac8e7af6302390684445b357e5cda4e4 (patch) | |
tree | 160f98a8bce324756f46b7b5aee889bb5b53f8af /src/input_common/main.cpp | |
parent | web_applet: Replace HIDButton with NpadButton (diff) | |
download | yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.gz yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.bz2 yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.lz yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.xz yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.zst yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index 8f7ce59b7..07d514ad7 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp @@ -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); } |