diff options
author | german77 <juangerman-13@hotmail.com> | 2022-05-21 23:56:06 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-05-27 17:21:10 +0200 |
commit | 762a30d0dbb2505c6f2b1691ec7d712a8b58adc7 (patch) | |
tree | 635447550b7c4255d095e78e6fa3a9e638281246 /src/core/hle/service/hid/controllers/npad.h | |
parent | service: hid: Refractor sixaxis functions (diff) | |
download | yuzu-762a30d0dbb2505c6f2b1691ec7d712a8b58adc7.tar yuzu-762a30d0dbb2505c6f2b1691ec7d712a8b58adc7.tar.gz yuzu-762a30d0dbb2505c6f2b1691ec7d712a8b58adc7.tar.bz2 yuzu-762a30d0dbb2505c6f2b1691ec7d712a8b58adc7.tar.lz yuzu-762a30d0dbb2505c6f2b1691ec7d712a8b58adc7.tar.xz yuzu-762a30d0dbb2505c6f2b1691ec7d712a8b58adc7.tar.zst yuzu-762a30d0dbb2505c6f2b1691ec7d712a8b58adc7.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h index dfb4de740..e6125ffcc 100644 --- a/src/core/hle/service/hid/controllers/npad.h +++ b/src/core/hle/service/hid/controllers/npad.h @@ -185,8 +185,9 @@ public: Core::HID::NpadButton GetAndResetPressState(); static bool IsNpadIdValid(Core::HID::NpadIdType npad_id); - static bool IsDeviceHandleValid(const Core::HID::SixAxisSensorHandle& device_handle); static bool IsDeviceHandleValid(const Core::HID::VibrationDeviceHandle& device_handle); + static ResultCode VerifyValidSixAxisSensorHandle( + const Core::HID::SixAxisSensorHandle& device_handle); private: static constexpr std::size_t NPAD_COUNT = 10; |