summaryrefslogtreecommitdiffstats
path: root/src/hid_core/resources/npad/npad.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2024-01-07 05:04:14 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2024-01-07 06:30:43 +0100
commit5105b900179e639a766c8013e7d24551e6a58a95 (patch)
treef4830e36817e18511b6fbdaeb97bc1aa7f009581 /src/hid_core/resources/npad/npad.h
parentservice: hid: Implement AssigningSingleOnSlSrPress (diff)
downloadyuzu-5105b900179e639a766c8013e7d24551e6a58a95.tar
yuzu-5105b900179e639a766c8013e7d24551e6a58a95.tar.gz
yuzu-5105b900179e639a766c8013e7d24551e6a58a95.tar.bz2
yuzu-5105b900179e639a766c8013e7d24551e6a58a95.tar.lz
yuzu-5105b900179e639a766c8013e7d24551e6a58a95.tar.xz
yuzu-5105b900179e639a766c8013e7d24551e6a58a95.tar.zst
yuzu-5105b900179e639a766c8013e7d24551e6a58a95.zip
Diffstat (limited to 'src/hid_core/resources/npad/npad.h')
-rw-r--r--src/hid_core/resources/npad/npad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hid_core/resources/npad/npad.h b/src/hid_core/resources/npad/npad.h
index 91bc59afd..01f3dabb1 100644
--- a/src/hid_core/resources/npad/npad.h
+++ b/src/hid_core/resources/npad/npad.h
@@ -159,6 +159,8 @@ public:
Result AssigningSingleOnSlSrPress(u64 aruid, bool is_enabled);
+ Result GetLastActiveNpad(Core::HID::NpadIdType& out_npad_id) const;
+
private:
struct VibrationData {
bool device_mounted{};