summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-16 17:40:42 +0200
committerGitHub <noreply@github.com>2023-09-16 17:40:42 +0200
commit9912704234fe1aae367ef6c93d6ffaa7ce819f42 (patch)
treea80e4779953422cb3392bc3ee791f3b25bd7575b /src/core/hle/service/hid/controllers/npad.h
parentMerge pull request #11518 from german77/bad-npad (diff)
parentservice: hid: Implement ApplyNpadSystemCommonPolicy (diff)
downloadyuzu-9912704234fe1aae367ef6c93d6ffaa7ce819f42.tar
yuzu-9912704234fe1aae367ef6c93d6ffaa7ce819f42.tar.gz
yuzu-9912704234fe1aae367ef6c93d6ffaa7ce819f42.tar.bz2
yuzu-9912704234fe1aae367ef6c93d6ffaa7ce819f42.tar.lz
yuzu-9912704234fe1aae367ef6c93d6ffaa7ce819f42.tar.xz
yuzu-9912704234fe1aae367ef6c93d6ffaa7ce819f42.tar.zst
yuzu-9912704234fe1aae367ef6c93d6ffaa7ce819f42.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
-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 09707d2f8..949e58a4c 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(