diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-12-05 15:11:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 15:11:14 -0500 |
commit | fae07919af1421c0fd6ea0c41853d2b20a2a389b (patch) | |
tree | 9e3d5c7b778c2798f7e5db1504098cd4f8c2ed9f | |
parent | f1f91ad4680a624c5557432448a4212d82ff6368 (diff) | |
parent | 7347cdb65150e6a8250a619020483ab6ffcf2dbb (diff) |
Merge pull request #7518 from german77/is_npad_valid
core/hid: Add missing controller type
-rw-r--r-- | src/core/hid/emulated_controller.cpp | 2 |
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: |