Browse Source
Merge pull request #13067 from t895/xbox-automap-invert
android: Flip AB/XY for xbox controllers during auto-mapping
pull/15/merge
liamwhite
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
3 deletions
-
src/input_common/drivers/android.h
|
|
|
@ -128,10 +128,11 @@ private: |
|
|
|
const std::string razer_vid{"1532"}; |
|
|
|
const std::string redmagic_vid{"3537"}; |
|
|
|
const std::string backbone_labs_vid{"358a"}; |
|
|
|
const std::vector<std::string> flipped_ab_vids{sony_vid, nintendo_vid, razer_vid, redmagic_vid, |
|
|
|
backbone_labs_vid}; |
|
|
|
const std::string xbox_vid{"045e"}; |
|
|
|
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, |
|
|
|
backbone_labs_vid}; |
|
|
|
backbone_labs_vid, xbox_vid}; |
|
|
|
}; |
|
|
|
|
|
|
|
} // namespace InputCommon |