summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-09-18 16:52:20 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-09-18 16:52:20 +0200
commit717889e93c4bd62958767f038a4da4eb97c3e4a1 (patch)
treeb60ee80bc78986403c731e7c966a5ed6fde366aa /src/core/hle/service/hid
parentMerge pull request #1290 from FernandoS27/shader-header (diff)
downloadyuzu-717889e93c4bd62958767f038a4da4eb97c3e4a1.tar
yuzu-717889e93c4bd62958767f038a4da4eb97c3e4a1.tar.gz
yuzu-717889e93c4bd62958767f038a4da4eb97c3e4a1.tar.bz2
yuzu-717889e93c4bd62958767f038a4da4eb97c3e4a1.tar.lz
yuzu-717889e93c4bd62958767f038a4da4eb97c3e4a1.tar.xz
yuzu-717889e93c4bd62958767f038a4da4eb97c3e4a1.tar.zst
yuzu-717889e93c4bd62958767f038a4da4eb97c3e4a1.zip
Diffstat (limited to 'src/core/hle/service/hid')
-rw-r--r--src/core/hle/service/hid/hid.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index ab2f17db9..ebff0898c 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -364,8 +364,8 @@ public:
{208, nullptr, "GetActualVibrationGcErmCommand"},
{209, nullptr, "BeginPermitVibrationSession"},
{210, nullptr, "EndPermitVibrationSession"},
- {300, nullptr, "ActivateConsoleSixAxisSensor"},
- {301, nullptr, "StartConsoleSixAxisSensor"},
+ {300, &Hid::ActivateConsoleSixAxisSensor, "ActivateConsoleSixAxisSensor"},
+ {301, &Hid::StartConsoleSixAxisSensor, "StartConsoleSixAxisSensor"},
{302, nullptr, "StopConsoleSixAxisSensor"},
{303, nullptr, "ActivateSevenSixAxisSensor"},
{304, nullptr, "StartSevenSixAxisSensor"},
@@ -579,6 +579,18 @@ private:
rb.Push(RESULT_SUCCESS);
LOG_WARNING(Service_HID, "(STUBBED) called");
}
+
+ void ActivateConsoleSixAxisSensor(Kernel::HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ LOG_WARNING(Service_HID, "(STUBBED) called");
+ }
+
+ void StartConsoleSixAxisSensor(Kernel::HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ LOG_WARNING(Service_HID, "(STUBBED) called");
+ }
};
class HidDbg final : public ServiceFramework<HidDbg> {