mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 09:18:03 -05:00
yuzu: Read mouse wheel input
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user