diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-06-23 07:35:17 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-06-29 02:14:55 +0200 |
commit | 36148fe7f6c825d1f931831c7f2c7218a5c2f73b (patch) | |
tree | ecf1803d2a34d8c71d3c1951d9081ca55ec6f27e /src/core/hle/service/hid/controllers/npad.h | |
parent | Merge pull request #8512 from german77/nnResult (diff) | |
download | yuzu-36148fe7f6c825d1f931831c7f2c7218a5c2f73b.tar yuzu-36148fe7f6c825d1f931831c7f2c7218a5c2f73b.tar.gz yuzu-36148fe7f6c825d1f931831c7f2c7218a5c2f73b.tar.bz2 yuzu-36148fe7f6c825d1f931831c7f2c7218a5c2f73b.tar.lz yuzu-36148fe7f6c825d1f931831c7f2c7218a5c2f73b.tar.xz yuzu-36148fe7f6c825d1f931831c7f2c7218a5c2f73b.tar.zst yuzu-36148fe7f6c825d1f931831c7f2c7218a5c2f73b.zip |
Diffstat (limited to '')
-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 8b54724ed..1a589cca2 100644 --- a/src/core/hle/service/hid/controllers/npad.h +++ b/src/core/hle/service/hid/controllers/npad.h @@ -81,6 +81,7 @@ public: Dual = 0, Single = 1, None = 2, + MaxActivationMode = 3, }; // This is nn::hid::NpadCommunicationMode @@ -196,7 +197,7 @@ public: Core::HID::NpadButton GetAndResetPressState(); static bool IsNpadIdValid(Core::HID::NpadIdType npad_id); - static bool IsDeviceHandleValid(const Core::HID::VibrationDeviceHandle& device_handle); + static Result IsDeviceHandleValid(const Core::HID::VibrationDeviceHandle& device_handle); static Result VerifyValidSixAxisSensorHandle( const Core::HID::SixAxisSensorHandle& device_handle); |