Merge pull request #7518 from german77/is_npad_valid

core/hid: Add missing controller type
This commit is contained in:
Morph 2021-12-05 15:11:14 -05:00 committed by GitHub
commit fae07919af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: