Browse Source
Merge pull request #7518 from german77/is_npad_valid
core/hid: Add missing controller type
pull/15/merge
Morph
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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: |
|
|
|
|