diff options
| author | 2018-03-31 16:05:45 -0400 | |
|---|---|---|
| committer | 2018-03-31 16:06:46 -0400 | |
| commit | b6b7d78ded12e688bde384821e9a83d8a8d1c512 (patch) | |
| tree | ab90f64ac3e5fb6e0d4cc4b82f2cb04658a8f66c /src | |
| parent | hle_ipc: Do not ensure write buffer size. (diff) | |
| download | yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.tar.gz yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.tar.xz yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.zip | |
hid: Stub out GetSupportedNpadStyleSet.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index a0b8c6243..f1936991c 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp | |||
| @@ -185,6 +185,7 @@ public: | |||
| 185 | {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, | 185 | {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, |
| 186 | {79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"}, | 186 | {79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"}, |
| 187 | {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"}, | 187 | {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"}, |
| 188 | {101, &Hid::GetSupportedNpadStyleSet, "GetSupportedNpadStyleSet"}, | ||
| 188 | {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"}, | 189 | {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"}, |
| 189 | {103, &Hid::ActivateNpad, "ActivateNpad"}, | 190 | {103, &Hid::ActivateNpad, "ActivateNpad"}, |
| 190 | {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, | 191 | {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, |
| @@ -265,6 +266,13 @@ private: | |||
| 265 | LOG_WARNING(Service_HID, "(STUBBED) called"); | 266 | LOG_WARNING(Service_HID, "(STUBBED) called"); |
| 266 | } | 267 | } |
| 267 | 268 | ||
| 269 | void GetSupportedNpadStyleSet(Kernel::HLERequestContext& ctx) { | ||
| 270 | IPC::ResponseBuilder rb{ctx, 3}; | ||
| 271 | rb.Push(RESULT_SUCCESS); | ||
| 272 | rb.Push<u32>(0); | ||
| 273 | LOG_WARNING(Service_HID, "(STUBBED) called"); | ||
| 274 | } | ||
| 275 | |||
| 268 | void SetSupportedNpadIdType(Kernel::HLERequestContext& ctx) { | 276 | void SetSupportedNpadIdType(Kernel::HLERequestContext& ctx) { |
| 269 | IPC::ResponseBuilder rb{ctx, 2}; | 277 | IPC::ResponseBuilder rb{ctx, 2}; |
| 270 | rb.Push(RESULT_SUCCESS); | 278 | rb.Push(RESULT_SUCCESS); |