aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-12-05 13:57:48 -0600
committergerman77 <juangerman-13@hotmail.com>2021-12-05 13:57:59 -0600
commit2ba689014104bc61e6af00926b74c28ad9eccb1e (patch)
tree9e3d5c7b778c2798f7e5db1504098cd4f8c2ed9f /src/core/hid/emulated_controller.cpp
parentbe80c6ddae6849d1e7c1fbe9a50f959c725d3c5a (diff)
core/hid: Add missing controller type
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
-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 7207067941..fbb19f2300 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: