summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-09-16 16:38:10 +0200
committergerman77 <juangerman-13@hotmail.com>2023-09-16 16:38:10 +0200
commita3f235f8a23303796a3727978806f2dcb13894eb (patch)
treec325b9f1d190913dcd885c703bebe4e545cda6ed /src/core/hle/service/hid/controllers/npad.h
parentMerge pull request #11385 from liamwhite/acceptcancel (diff)
downloadyuzu-a3f235f8a23303796a3727978806f2dcb13894eb.tar
yuzu-a3f235f8a23303796a3727978806f2dcb13894eb.tar.gz
yuzu-a3f235f8a23303796a3727978806f2dcb13894eb.tar.bz2
yuzu-a3f235f8a23303796a3727978806f2dcb13894eb.tar.lz
yuzu-a3f235f8a23303796a3727978806f2dcb13894eb.tar.xz
yuzu-a3f235f8a23303796a3727978806f2dcb13894eb.tar.zst
yuzu-a3f235f8a23303796a3727978806f2dcb13894eb.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/controllers/npad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h
index 776411261..0e9f899a4 100644
--- a/src/core/hle/service/hid/controllers/npad.h
+++ b/src/core/hle/service/hid/controllers/npad.h
@@ -190,6 +190,8 @@ public:
// Specifically for cheat engine and other features.
Core::HID::NpadButton GetAndResetPressState();
+ void ApplyNpadSystemCommonPolicy();
+
static bool IsNpadIdValid(Core::HID::NpadIdType npad_id);
static Result IsDeviceHandleValid(const Core::HID::VibrationDeviceHandle& device_handle);
static Result VerifyValidSixAxisSensorHandle(