diff options
| author | 2024-01-07 09:05:12 -0600 | |
|---|---|---|
| committer | 2024-01-11 19:35:04 -0600 | |
| commit | b5dac5f525e8d5884506ebd98a530e237b518480 (patch) | |
| tree | 6ceee925ba897dc3450bdad209982f0be4bc3f7a /src/hid_core/hid_util.h | |
| parent | Merge pull request #12653 from liamwhite/once-more (diff) | |
| download | yuzu-b5dac5f525e8d5884506ebd98a530e237b518480.tar.gz yuzu-b5dac5f525e8d5884506ebd98a530e237b518480.tar.xz yuzu-b5dac5f525e8d5884506ebd98a530e237b518480.zip | |
service: hid: Create abstracted pad structure
Diffstat (limited to 'src/hid_core/hid_util.h')
| -rw-r--r-- | src/hid_core/hid_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hid_core/hid_util.h b/src/hid_core/hid_util.h index 94ff2d23a..397a87472 100644 --- a/src/hid_core/hid_util.h +++ b/src/hid_core/hid_util.h | |||
| @@ -42,7 +42,7 @@ constexpr Result IsSixaxisHandleValid(const Core::HID::SixAxisSensorHandle& hand | |||
| 42 | 42 | ||
| 43 | constexpr Result IsVibrationHandleValid(const Core::HID::VibrationDeviceHandle& handle) { | 43 | constexpr Result IsVibrationHandleValid(const Core::HID::VibrationDeviceHandle& handle) { |
| 44 | switch (handle.npad_type) { | 44 | switch (handle.npad_type) { |
| 45 | case Core::HID::NpadStyleIndex::ProController: | 45 | case Core::HID::NpadStyleIndex::Fullkey: |
| 46 | case Core::HID::NpadStyleIndex::Handheld: | 46 | case Core::HID::NpadStyleIndex::Handheld: |
| 47 | case Core::HID::NpadStyleIndex::JoyconDual: | 47 | case Core::HID::NpadStyleIndex::JoyconDual: |
| 48 | case Core::HID::NpadStyleIndex::JoyconLeft: | 48 | case Core::HID::NpadStyleIndex::JoyconLeft: |