summaryrefslogtreecommitdiffstats
path: root/src/core/hid/hid_core.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-12-05 02:37:03 +0100
committergerman77 <juangerman-13@hotmail.com>2021-12-05 06:20:18 +0100
commit7fe455e42ea1a8d5e702258212d54f21f1f31610 (patch)
tree0527ae35ff85e56adc4201d3e3204ec53bfeddb6 /src/core/hid/hid_core.cpp
parentMerge pull request #7467 from liushuyu/fix-linux-decoding (diff)
downloadyuzu-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 '')
-rw-r--r--src/core/hid/hid_core.cpp10
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 {