diff options
author | bunnei <bunneidev@gmail.com> | 2023-01-11 02:32:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 02:32:58 +0100 |
commit | 0e8f98a441400d0dc87425d4c2c26e71e995bdcb (patch) | |
tree | c61f3004ff0b01b88b4990436ddb2abe9119dce1 /src/input_common | |
parent | Merge pull request #9596 from liamwhite/mvk (diff) | |
parent | yuzu: Read mouse wheel input (diff) | |
download | yuzu-0e8f98a441400d0dc87425d4c2c26e71e995bdcb.tar yuzu-0e8f98a441400d0dc87425d4c2c26e71e995bdcb.tar.gz yuzu-0e8f98a441400d0dc87425d4c2c26e71e995bdcb.tar.bz2 yuzu-0e8f98a441400d0dc87425d4c2c26e71e995bdcb.tar.lz yuzu-0e8f98a441400d0dc87425d4c2c26e71e995bdcb.tar.xz yuzu-0e8f98a441400d0dc87425d4c2c26e71e995bdcb.tar.zst yuzu-0e8f98a441400d0dc87425d4c2c26e71e995bdcb.zip |
Diffstat (limited to 'src/input_common')
-rw-r--r-- | src/input_common/input_mapping.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_mapping.cpp b/src/input_common/input_mapping.cpp index edd5287c1..d6e49d2c5 100644 --- a/src/input_common/input_mapping.cpp +++ b/src/input_common/input_mapping.cpp @@ -76,7 +76,7 @@ void MappingFactory::RegisterButton(const MappingData& data) { break; case EngineInputType::Analog: // Ignore mouse axis when mapping buttons - if (data.engine == "mouse") { + if (data.engine == "mouse" && data.index != 4) { return; } new_input.Set("axis", data.index); |