summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-12-05 21:11:14 +0100
committerGitHub <noreply@github.com>2021-12-05 21:11:14 +0100
commitfae07919af1421c0fd6ea0c41853d2b20a2a389b (patch)
tree9e3d5c7b778c2798f7e5db1504098cd4f8c2ed9f
parentMerge pull request #7494 from Morph1984/no-time-to-wait (diff)
parentcore/hid: Add missing controller type (diff)
downloadyuzu-fae07919af1421c0fd6ea0c41853d2b20a2a389b.tar
yuzu-fae07919af1421c0fd6ea0c41853d2b20a2a389b.tar.gz
yuzu-fae07919af1421c0fd6ea0c41853d2b20a2a389b.tar.bz2
yuzu-fae07919af1421c0fd6ea0c41853d2b20a2a389b.tar.lz
yuzu-fae07919af1421c0fd6ea0c41853d2b20a2a389b.tar.xz
yuzu-fae07919af1421c0fd6ea0c41853d2b20a2a389b.tar.zst
yuzu-fae07919af1421c0fd6ea0c41853d2b20a2a389b.zip
-rw-r--r--src/core/hid/emulated_controller.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp
index 720706794..fbb19f230 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -882,6 +882,8 @@ bool EmulatedController::IsControllerSupported() const {
switch (npad_type) {
case NpadStyleIndex::ProController:
return supported_style_tag.fullkey;
+ case NpadStyleIndex::Handheld:
+ return supported_style_tag.handheld;
case NpadStyleIndex::JoyconDual:
return supported_style_tag.joycon_dual;
case NpadStyleIndex::JoyconLeft: