yuzu: Read mouse wheel input

This commit is contained in:
Narr the Reg committed 2023-01-10 18:20:58 -06:00
1 parent 948ac976d1
commit 87b02f78e1
3 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -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);