diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-18 16:56:02 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-18 16:56:02 +0200 |
commit | a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d (patch) | |
tree | 7c44b6bcbb207951c4b7a63250d29f6a6f032c8a /src/core/hle/service/hid/hid.cpp | |
parent | Stubbed ActivateConsoleSixAxisSensor & StartConsoleSixAxisSensor (diff) | |
download | yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.tar yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.tar.gz yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.tar.bz2 yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.tar.lz yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.tar.xz yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.tar.zst yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.zip |
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index ebff0898c..e2c607319 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -313,7 +313,7 @@ public: {64, nullptr, "DeactivateJoySixAxisSensor"}, {65, nullptr, "GetJoySixAxisSensorLifoHandle"}, {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, - {67, nullptr, "StopSixAxisSensor"}, + {67, &Hid::StopSixAxisSensor, "StopSixAxisSensor"}, {68, nullptr, "IsSixAxisSensorFusionEnabled"}, {69, nullptr, "EnableSixAxisSensorFusion"}, {70, nullptr, "SetSixAxisSensorFusionParameters"}, @@ -591,6 +591,12 @@ private: rb.Push(RESULT_SUCCESS); LOG_WARNING(Service_HID, "(STUBBED) called"); } + + void StopSixAxisSensor(Kernel::HLERequestContext& ctx) { + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + LOG_WARNING(Service_HID, "(STUBBED) called"); + } }; class HidDbg final : public ServiceFramework<HidDbg> { |