summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-05-21 23:56:06 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2022-05-27 17:21:10 +0200
commit762a30d0dbb2505c6f2b1691ec7d712a8b58adc7 (patch)
tree635447550b7c4255d095e78e6fa3a9e638281246 /src/core/hle/service/hid/controllers/npad.h
parentservice: hid: Refractor sixaxis functions (diff)
downloadyuzu-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.h3
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;