Merge pull request #7518 from german77/is_npad_valid
core/hid: Add missing controller type
This commit is contained in:
commit
fae07919af
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user