diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-05 08:08:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 08:08:43 +0100 |
commit | 60e923046e07657f7bbae4b0342efad6c3641252 (patch) | |
tree | 0527ae35ff85e56adc4201d3e3204ec53bfeddb6 /src/core/hid/hid_core.cpp | |
parent | Merge pull request #7467 from liushuyu/fix-linux-decoding (diff) | |
parent | core/hid: Ensure only valid npad are connected (diff) | |
download | yuzu-60e923046e07657f7bbae4b0342efad6c3641252.tar yuzu-60e923046e07657f7bbae4b0342efad6c3641252.tar.gz yuzu-60e923046e07657f7bbae4b0342efad6c3641252.tar.bz2 yuzu-60e923046e07657f7bbae4b0342efad6c3641252.tar.lz yuzu-60e923046e07657f7bbae4b0342efad6c3641252.tar.xz yuzu-60e923046e07657f7bbae4b0342efad6c3641252.tar.zst yuzu-60e923046e07657f7bbae4b0342efad6c3641252.zip |
Diffstat (limited to 'src/core/hid/hid_core.cpp')
-rw-r--r-- | src/core/hid/hid_core.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hid/hid_core.cpp b/src/core/hid/hid_core.cpp index 946adde00..0c3eb5a62 100644 --- a/src/core/hid/hid_core.cpp +++ b/src/core/hid/hid_core.cpp @@ -108,6 +108,16 @@ const EmulatedController* HIDCore::GetEmulatedControllerByIndex(std::size_t inde void HIDCore::SetSupportedStyleTag(NpadStyleTag style_tag) { supported_style_tag.raw = style_tag.raw; + player_1->SetSupportedNpadStyleTag(supported_style_tag); + player_2->SetSupportedNpadStyleTag(supported_style_tag); + player_3->SetSupportedNpadStyleTag(supported_style_tag); + player_4->SetSupportedNpadStyleTag(supported_style_tag); + player_5->SetSupportedNpadStyleTag(supported_style_tag); + player_6->SetSupportedNpadStyleTag(supported_style_tag); + player_7->SetSupportedNpadStyleTag(supported_style_tag); + player_8->SetSupportedNpadStyleTag(supported_style_tag); + other->SetSupportedNpadStyleTag(supported_style_tag); + handheld->SetSupportedNpadStyleTag(supported_style_tag); } NpadStyleTag HIDCore::GetSupportedStyleTag() const { |