diff options
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
| -rw-r--r-- | src/core/hid/emulated_controller.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp index 025f1c78e..57eff72fe 100644 --- a/src/core/hid/emulated_controller.cpp +++ b/src/core/hid/emulated_controller.cpp | |||
| @@ -1158,27 +1158,27 @@ bool EmulatedController::IsControllerSupported(bool use_temporary_value) const { | |||
| 1158 | const auto type = is_configuring && use_temporary_value ? tmp_npad_type : npad_type; | 1158 | const auto type = is_configuring && use_temporary_value ? tmp_npad_type : npad_type; |
| 1159 | switch (type) { | 1159 | switch (type) { |
| 1160 | case NpadStyleIndex::ProController: | 1160 | case NpadStyleIndex::ProController: |
| 1161 | return supported_style_tag.fullkey; | 1161 | return supported_style_tag.fullkey.As<bool>(); |
| 1162 | case NpadStyleIndex::Handheld: | 1162 | case NpadStyleIndex::Handheld: |
| 1163 | return supported_style_tag.handheld; | 1163 | return supported_style_tag.handheld.As<bool>(); |
| 1164 | case NpadStyleIndex::JoyconDual: | 1164 | case NpadStyleIndex::JoyconDual: |
| 1165 | return supported_style_tag.joycon_dual; | 1165 | return supported_style_tag.joycon_dual.As<bool>(); |
| 1166 | case NpadStyleIndex::JoyconLeft: | 1166 | case NpadStyleIndex::JoyconLeft: |
| 1167 | return supported_style_tag.joycon_left; | 1167 | return supported_style_tag.joycon_left.As<bool>(); |
| 1168 | case NpadStyleIndex::JoyconRight: | 1168 | case NpadStyleIndex::JoyconRight: |
| 1169 | return supported_style_tag.joycon_right; | 1169 | return supported_style_tag.joycon_right.As<bool>(); |
| 1170 | case NpadStyleIndex::GameCube: | 1170 | case NpadStyleIndex::GameCube: |
| 1171 | return supported_style_tag.gamecube; | 1171 | return supported_style_tag.gamecube.As<bool>(); |
| 1172 | case NpadStyleIndex::Pokeball: | 1172 | case NpadStyleIndex::Pokeball: |
| 1173 | return supported_style_tag.palma; | 1173 | return supported_style_tag.palma.As<bool>(); |
| 1174 | case NpadStyleIndex::NES: | 1174 | case NpadStyleIndex::NES: |
| 1175 | return supported_style_tag.lark; | 1175 | return supported_style_tag.lark.As<bool>(); |
| 1176 | case NpadStyleIndex::SNES: | 1176 | case NpadStyleIndex::SNES: |
| 1177 | return supported_style_tag.lucia; | 1177 | return supported_style_tag.lucia.As<bool>(); |
| 1178 | case NpadStyleIndex::N64: | 1178 | case NpadStyleIndex::N64: |
| 1179 | return supported_style_tag.lagoon; | 1179 | return supported_style_tag.lagoon.As<bool>(); |
| 1180 | case NpadStyleIndex::SegaGenesis: | 1180 | case NpadStyleIndex::SegaGenesis: |
| 1181 | return supported_style_tag.lager; | 1181 | return supported_style_tag.lager.As<bool>(); |
| 1182 | default: | 1182 | default: |
| 1183 | return false; | 1183 | return false; |
| 1184 | } | 1184 | } |