diff options
| author | 2018-09-19 00:56:02 +1000 | |
|---|---|---|
| committer | 2018-09-19 00:56:02 +1000 | |
| commit | a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d (patch) | |
| tree | 7c44b6bcbb207951c4b7a63250d29f6a6f032c8a | |
| parent | Stubbed ActivateConsoleSixAxisSensor & StartConsoleSixAxisSensor (diff) | |
| download | yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.tar.gz yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.tar.xz yuzu-a8b1c7763b20e0a30af9b54b87a86fec85ce0d7d.zip | |
Added StopSixAxisSensor
| -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: | |||
| 313 | {64, nullptr, "DeactivateJoySixAxisSensor"}, | 313 | {64, nullptr, "DeactivateJoySixAxisSensor"}, |
| 314 | {65, nullptr, "GetJoySixAxisSensorLifoHandle"}, | 314 | {65, nullptr, "GetJoySixAxisSensorLifoHandle"}, |
| 315 | {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, | 315 | {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, |
| 316 | {67, nullptr, "StopSixAxisSensor"}, | 316 | {67, &Hid::StopSixAxisSensor, "StopSixAxisSensor"}, |
| 317 | {68, nullptr, "IsSixAxisSensorFusionEnabled"}, | 317 | {68, nullptr, "IsSixAxisSensorFusionEnabled"}, |
| 318 | {69, nullptr, "EnableSixAxisSensorFusion"}, | 318 | {69, nullptr, "EnableSixAxisSensorFusion"}, |
| 319 | {70, nullptr, "SetSixAxisSensorFusionParameters"}, | 319 | {70, nullptr, "SetSixAxisSensorFusionParameters"}, |
| @@ -591,6 +591,12 @@ private: | |||
| 591 | rb.Push(RESULT_SUCCESS); | 591 | rb.Push(RESULT_SUCCESS); |
| 592 | LOG_WARNING(Service_HID, "(STUBBED) called"); | 592 | LOG_WARNING(Service_HID, "(STUBBED) called"); |
| 593 | } | 593 | } |
| 594 | |||
| 595 | void StopSixAxisSensor(Kernel::HLERequestContext& ctx) { | ||
| 596 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 597 | rb.Push(RESULT_SUCCESS); | ||
| 598 | LOG_WARNING(Service_HID, "(STUBBED) called"); | ||
| 599 | } | ||
| 594 | }; | 600 | }; |
| 595 | 601 | ||
| 596 | class HidDbg final : public ServiceFramework<HidDbg> { | 602 | class HidDbg final : public ServiceFramework<HidDbg> { |