Преглед изворни кода

core/hid: Add missing controller type

german77 пре 4 година
родитељ
комит
7347cdb651
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/core/hid/emulated_controller.cpp

+ 2 - 0
src/core/hid/emulated_controller.cpp

@@ -882,6 +882,8 @@ bool EmulatedController::IsControllerSupported() const {
     switch (npad_type) {
     switch (npad_type) {
     case NpadStyleIndex::ProController:
     case NpadStyleIndex::ProController:
         return supported_style_tag.fullkey;
         return supported_style_tag.fullkey;
+    case NpadStyleIndex::Handheld:
+        return supported_style_tag.handheld;
     case NpadStyleIndex::JoyconDual:
     case NpadStyleIndex::JoyconDual:
         return supported_style_tag.joycon_dual;
         return supported_style_tag.joycon_dual;
     case NpadStyleIndex::JoyconLeft:
     case NpadStyleIndex::JoyconLeft: