summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/controller_base.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-17 03:28:06 +0100
committerGitHub <noreply@github.com>2023-11-17 03:28:06 +0100
commit4c16a1a26f3d35c5d3a57a6b1e988d3c3e07a932 (patch)
tree76d8d54e9874693467b66cd3d68cdbd4dc664cfa /src/core/hle/service/hid/controllers/controller_base.h
parentMerge pull request #12053 from german77/no_functional (diff)
parentservice: hid: Introduce firmware settings and update activate controller calls (diff)
downloadyuzu-4c16a1a26f3d35c5d3a57a6b1e988d3c3e07a932.tar
yuzu-4c16a1a26f3d35c5d3a57a6b1e988d3c3e07a932.tar.gz
yuzu-4c16a1a26f3d35c5d3a57a6b1e988d3c3e07a932.tar.bz2
yuzu-4c16a1a26f3d35c5d3a57a6b1e988d3c3e07a932.tar.lz
yuzu-4c16a1a26f3d35c5d3a57a6b1e988d3c3e07a932.tar.xz
yuzu-4c16a1a26f3d35c5d3a57a6b1e988d3c3e07a932.tar.zst
yuzu-4c16a1a26f3d35c5d3a57a6b1e988d3c3e07a932.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/controllers/controller_base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/controller_base.h b/src/core/hle/service/hid/controllers/controller_base.h
index d6f7a5073..9a44ee41e 100644
--- a/src/core/hle/service/hid/controllers/controller_base.h
+++ b/src/core/hle/service/hid/controllers/controller_base.h
@@ -4,6 +4,7 @@
#pragma once
#include "common/common_types.h"
+#include "core/hle/result.h"
namespace Core::Timing {
class CoreTiming;
@@ -31,7 +32,8 @@ public:
// When the controller is requesting a motion update for the shared memory
virtual void OnMotionUpdate(const Core::Timing::CoreTiming& core_timing) {}
- void ActivateController();
+ Result Activate();
+ Result Activate(u64 aruid);
void DeactivateController();