diff options
author | german77 <juangerman-13@hotmail.com> | 2021-12-05 02:37:03 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-12-05 06:20:18 +0100 |
commit | 7fe455e42ea1a8d5e702258212d54f21f1f31610 (patch) | |
tree | 0527ae35ff85e56adc4201d3e3204ec53bfeddb6 /src/core/hid/hid_core.cpp | |
parent | Merge pull request #7467 from liushuyu/fix-linux-decoding (diff) | |
download | yuzu-7fe455e42ea1a8d5e702258212d54f21f1f31610.tar yuzu-7fe455e42ea1a8d5e702258212d54f21f1f31610.tar.gz yuzu-7fe455e42ea1a8d5e702258212d54f21f1f31610.tar.bz2 yuzu-7fe455e42ea1a8d5e702258212d54f21f1f31610.tar.lz yuzu-7fe455e42ea1a8d5e702258212d54f21f1f31610.tar.xz yuzu-7fe455e42ea1a8d5e702258212d54f21f1f31610.tar.zst yuzu-7fe455e42ea1a8d5e702258212d54f21f1f31610.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 { |