aboutsummaryrefslogtreecommitdiff
path: root/src/hid_core/resources/npad/npad_data.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2024-01-07 09:05:12 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2024-01-11 19:35:04 -0600
commitb5dac5f525e8d5884506ebd98a530e237b518480 (patch)
tree6ceee925ba897dc3450bdad209982f0be4bc3f7a /src/hid_core/resources/npad/npad_data.cpp
parenta4d90a9a64cd1040efc64efc96700911407e7db9 (diff)
service: hid: Create abstracted pad structure
Diffstat (limited to 'src/hid_core/resources/npad/npad_data.cpp')
-rw-r--r--src/hid_core/resources/npad/npad_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hid_core/resources/npad/npad_data.cpp b/src/hid_core/resources/npad/npad_data.cpp
index c7e9760cb..29ad5cb08 100644
--- a/src/hid_core/resources/npad/npad_data.cpp
+++ b/src/hid_core/resources/npad/npad_data.cpp
@@ -151,7 +151,7 @@ Core::HID::NpadStyleSet NPadData::GetSupportedNpadStyleSet() const {
bool NPadData::IsNpadStyleIndexSupported(Core::HID::NpadStyleIndex style_index) const {
Core::HID::NpadStyleTag style = {supported_npad_style_set};
switch (style_index) {
- case Core::HID::NpadStyleIndex::ProController:
+ case Core::HID::NpadStyleIndex::Fullkey:
return style.fullkey.As<bool>();
case Core::HID::NpadStyleIndex::Handheld:
return style.handheld.As<bool>();