2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #13067 from t895/xbox-automap-invert

android: Flip AB/XY for xbox controllers during auto-mapping
This commit is contained in:
liamwhite 2024-02-18 10:48:54 -05:00 committed by GitHub
commit da225d4aa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,10 +128,11 @@ private:
const std::string razer_vid{"1532"}; const std::string razer_vid{"1532"};
const std::string redmagic_vid{"3537"}; const std::string redmagic_vid{"3537"};
const std::string backbone_labs_vid{"358a"}; const std::string backbone_labs_vid{"358a"};
const std::vector<std::string> flipped_ab_vids{sony_vid, nintendo_vid, razer_vid, redmagic_vid, const std::string xbox_vid{"045e"};
backbone_labs_vid}; const std::vector<std::string> flipped_ab_vids{sony_vid, nintendo_vid, razer_vid,
redmagic_vid, backbone_labs_vid, xbox_vid};
const std::vector<std::string> flipped_xy_vids{sony_vid, razer_vid, redmagic_vid, const std::vector<std::string> flipped_xy_vids{sony_vid, razer_vid, redmagic_vid,
backbone_labs_vid}; backbone_labs_vid, xbox_vid};
}; };
} // namespace InputCommon } // namespace InputCommon