summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/resource_manager.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-12-31 07:42:23 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-12-31 17:51:01 +0100
commit865abfc37c5b3e8945d833bd44db428ad720bd58 (patch)
treeaf37ccf552aad0403898fb371e639393efe7b9d4 /src/core/hle/service/hid/resource_manager.h
parentMerge pull request #12509 from liamwhite/ktrace (diff)
downloadyuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar
yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.gz
yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.bz2
yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.lz
yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.xz
yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.zst
yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.zip
Diffstat (limited to 'src/core/hle/service/hid/resource_manager.h')
-rw-r--r--src/core/hle/service/hid/resource_manager.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/core/hle/service/hid/resource_manager.h b/src/core/hle/service/hid/resource_manager.h
index 5ad7cb564..7df1567cc 100644
--- a/src/core/hle/service/hid/resource_manager.h
+++ b/src/core/hle/service/hid/resource_manager.h
@@ -20,24 +20,23 @@ class KSharedMemory;
namespace Service::HID {
class AppletResource;
+class CaptureButton;
class Controller_Stubbed;
class ConsoleSixAxis;
+class DebugMouse;
class DebugPad;
+class Digitizer;
class Gesture;
+class HomeButton;
class Keyboard;
class Mouse;
class NPad;
class Palma;
class SevenSixAxis;
class SixAxis;
+class SleepButton;
class TouchScreen;
-
-using CaptureButton = Controller_Stubbed;
-using DebugMouse = Mouse;
-using Digitizer = Controller_Stubbed;
-using HomeButton = Controller_Stubbed;
-using SleepButton = Controller_Stubbed;
-using UniquePad = Controller_Stubbed;
+class UniquePad;
class ResourceManager {
@@ -46,7 +45,6 @@ public:
~ResourceManager();
void Initialize();
- void InitializeController(u64 aruid);
std::shared_ptr<AppletResource> GetAppletResource() const;
std::shared_ptr<CaptureButton> GetCaptureButton() const;
@@ -88,6 +86,10 @@ public:
private:
Result CreateAppletResourceImpl(u64 aruid);
+ void InitializeHidCommonSampler();
+ void InitializeTouchScreenSampler();
+ void InitializeConsoleSixAxisSampler();
+ void InitializeAHidSampler();
bool is_initialized{false};