summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-18 16:48:54 +0100
committerGitHub <noreply@github.com>2024-02-18 16:48:54 +0100
commitda225d4aa125f93e6f4d7b544f168fbc52cb3bc6 (patch)
treeb534eaa87d053636b73ea73ccb7bb7bf6957c815
parentMerge pull request #13032 from german77/qlauncher (diff)
parentandroid: Flip AB/XY for xbox controllers during auto-mapping (diff)
downloadyuzu-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.h7
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