Merge pull request #9605 from german77/mouse_mapping
yuzu: Read mouse scroll
This commit is contained in:
commit
c45b1d8723
3 changed files with 10 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue