Browse Source
Merge pull request #983 from mailwl/hid-fix
hid: fix IsSixAxisSensorAtRest() response
pull/15/merge
Mat M
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/hle/service/hid/hid.cpp
|
|
@ -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); |
|
|
|