diff options
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 868ac6f46..b59c52f07 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp | |||
| @@ -237,7 +237,7 @@ public: | |||
| 237 | {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, | 237 | {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, |
| 238 | "AcquireNpadStyleSetUpdateEventHandle"}, | 238 | "AcquireNpadStyleSetUpdateEventHandle"}, |
| 239 | {107, nullptr, "DisconnectNpad"}, | 239 | {107, nullptr, "DisconnectNpad"}, |
| 240 | {108, nullptr, "GetPlayerLedPattern"}, | 240 | {108, &Hid::GetPlayerLedPattern, "GetPlayerLedPattern"}, |
| 241 | {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, | 241 | {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, |
| 242 | {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, | 242 | {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, |
| 243 | {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, | 243 | {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, |
| @@ -358,6 +358,12 @@ private: | |||
| 358 | LOG_WARNING(Service_HID, "(STUBBED) called"); | 358 | LOG_WARNING(Service_HID, "(STUBBED) called"); |
| 359 | } | 359 | } |
| 360 | 360 | ||
| 361 | void GetPlayerLedPattern(Kernel::HLERequestContext& ctx) { | ||
| 362 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 363 | rb.Push(RESULT_SUCCESS); | ||
| 364 | LOG_WARNING(Service_HID, "(STUBBED) called"); | ||
| 365 | } | ||
| 366 | |||
| 361 | void SetNpadJoyHoldType(Kernel::HLERequestContext& ctx) { | 367 | void SetNpadJoyHoldType(Kernel::HLERequestContext& ctx) { |
| 362 | IPC::ResponseBuilder rb{ctx, 2}; | 368 | IPC::ResponseBuilder rb{ctx, 2}; |
| 363 | rb.Push(RESULT_SUCCESS); | 369 | rb.Push(RESULT_SUCCESS); |