mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 08:42:45 +01:00
Added StopSixAxisSensor
This commit is contained in:
parent
717889e93c
commit
a8b1c7763b
1 changed files with 7 additions and 1 deletions
|
@ -313,7 +313,7 @@ public:
|
||||||
{64, nullptr, "DeactivateJoySixAxisSensor"},
|
{64, nullptr, "DeactivateJoySixAxisSensor"},
|
||||||
{65, nullptr, "GetJoySixAxisSensorLifoHandle"},
|
{65, nullptr, "GetJoySixAxisSensorLifoHandle"},
|
||||||
{66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"},
|
{66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"},
|
||||||
{67, nullptr, "StopSixAxisSensor"},
|
{67, &Hid::StopSixAxisSensor, "StopSixAxisSensor"},
|
||||||
{68, nullptr, "IsSixAxisSensorFusionEnabled"},
|
{68, nullptr, "IsSixAxisSensorFusionEnabled"},
|
||||||
{69, nullptr, "EnableSixAxisSensorFusion"},
|
{69, nullptr, "EnableSixAxisSensorFusion"},
|
||||||
{70, nullptr, "SetSixAxisSensorFusionParameters"},
|
{70, nullptr, "SetSixAxisSensorFusionParameters"},
|
||||||
|
@ -591,6 +591,12 @@ private:
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
LOG_WARNING(Service_HID, "(STUBBED) called");
|
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> {
|
class HidDbg final : public ServiceFramework<HidDbg> {
|
||||||
|
|
Loading…
Reference in a new issue