diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-18 16:48:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 16:48:54 +0100 |
commit | da225d4aa125f93e6f4d7b544f168fbc52cb3bc6 (patch) | |
tree | b534eaa87d053636b73ea73ccb7bb7bf6957c815 | |
parent | Merge pull request #13032 from german77/qlauncher (diff) | |
parent | android: Flip AB/XY for xbox controllers during auto-mapping (diff) | |
download | yuzu-da225d4aa125f93e6f4d7b544f168fbc52cb3bc6.tar yuzu-da225d4aa125f93e6f4d7b544f168fbc52cb3bc6.tar.gz yuzu-da225d4aa125f93e6f4d7b544f168fbc52cb3bc6.tar.bz2 yuzu-da225d4aa125f93e6f4d7b544f168fbc52cb3bc6.tar.lz yuzu-da225d4aa125f93e6f4d7b544f168fbc52cb3bc6.tar.xz yuzu-da225d4aa125f93e6f4d7b544f168fbc52cb3bc6.tar.zst yuzu-da225d4aa125f93e6f4d7b544f168fbc52cb3bc6.zip |
-rw-r--r-- | src/input_common/drivers/android.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/input_common/drivers/android.h b/src/input_common/drivers/android.h index ac60e3598..8a386c1b1 100644 --- a/src/input_common/drivers/android.h +++ b/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 |