3
0
Fork 0
forked from suyu/suyu

Merge pull request #983 from mailwl/hid-fix

hid: fix IsSixAxisSensorAtRest() response
This commit is contained in:
Mat M 2018-08-08 02:37:32 -04:00 committed by GitHub
commit 9fde7d739a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);