yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

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
1 changed files with 4 additions and 3 deletions

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