summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-08 05:59:01 +0100
committerGitHub <noreply@github.com>2018-11-08 05:59:01 +0100
commit0e05a9d58f333175db0aee5290f38c6f138eabcb (patch)
tree3ffb66f4ea2e8f44cd3b3ca4053e04c2dcfd20fe
parentsvcBreak now dumps information from the debug buffer passed (#1646) (diff)
parentUpdated npad styles on holdtype switches (diff)
downloadyuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.tar
yuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.tar.gz
yuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.tar.bz2
yuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.tar.lz
yuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.tar.xz
yuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.tar.zst
yuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.zip
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 1ef789bd0..ff9b64be4 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -392,8 +392,10 @@ std::size_t Controller_NPad::GetSupportedNPadIdTypesSize() const {
}
void Controller_NPad::SetHoldType(NpadHoldType joy_hold_type) {
+ styleset_changed_event->Signal();
hold_type = joy_hold_type;
}
+
Controller_NPad::NpadHoldType Controller_NPad::GetHoldType() const {
return hold_type;
}