summaryrefslogtreecommitdiffstats
path: root/src/core/hid/hid_core.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-10-21 00:53:14 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:25 +0100
commitaf55dd193533be577d0a3d01f93a4a3a2c27cd5d (patch)
treec9fa35290dbf470a7940b3b22249c948970b714c /src/core/hid/hid_core.h
parentcore/hid: Fix rumble too strong at 1% (diff)
downloadyuzu-af55dd193533be577d0a3d01f93a4a3a2c27cd5d.tar
yuzu-af55dd193533be577d0a3d01f93a4a3a2c27cd5d.tar.gz
yuzu-af55dd193533be577d0a3d01f93a4a3a2c27cd5d.tar.bz2
yuzu-af55dd193533be577d0a3d01f93a4a3a2c27cd5d.tar.lz
yuzu-af55dd193533be577d0a3d01f93a4a3a2c27cd5d.tar.xz
yuzu-af55dd193533be577d0a3d01f93a4a3a2c27cd5d.tar.zst
yuzu-af55dd193533be577d0a3d01f93a4a3a2c27cd5d.zip
Diffstat (limited to '')
-rw-r--r--src/core/hid/hid_core.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/hid/hid_core.h b/src/core/hid/hid_core.h
index f11f48b61..196466a72 100644
--- a/src/core/hid/hid_core.h
+++ b/src/core/hid/hid_core.h
@@ -35,10 +35,16 @@ public:
void SetSupportedStyleTag(NpadStyleTag style_tag);
NpadStyleTag GetSupportedStyleTag() const;
- // Reloads all input devices from settings
+ /// Counts the connected players from P1-P8
+ s8 GetPlayerCount() const;
+
+ /// Returns the first connected npad id
+ NpadIdType GetFirstNpadId() const;
+
+ /// Reloads all input devices from settings
void ReloadInputDevices();
- // Removes all callbacks from input common
+ /// Removes all callbacks from input common
void UnloadInputDevices();
private: