1
0
Fork 0
forked from suyu/suyu

hid: fix IsSixAxisSensorAtRest() response

This commit is contained in:
mailwl 2018-08-08 09:32:38 +03:00
parent 2bc296801a
commit 3c498189b6

View file

@ -457,7 +457,7 @@ private:
} }
void IsSixAxisSensorAtRest(Kernel::HLERequestContext& ctx) { void IsSixAxisSensorAtRest(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2}; IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
// TODO (Hexagon12): Properly implement reading gyroscope values from controllers. // TODO (Hexagon12): Properly implement reading gyroscope values from controllers.
rb.Push(true); rb.Push(true);