diff options
author | Hexagon12 <benassdo@gmail.com> | 2018-04-13 16:05:03 +0200 |
---|---|---|
committer | Hexagon12 <benassdo@gmail.com> | 2018-04-13 16:05:03 +0200 |
commit | 56d2958aaf2ef1350270e0e026d7de3fe7ccdea3 (patch) | |
tree | acc09135162753b8f89fcc0facd97dd5b56ec78a /src/core/hle/service/hid/hid.cpp | |
parent | Merge pull request #1 from yuzu-emu/master (diff) | |
download | yuzu-56d2958aaf2ef1350270e0e026d7de3fe7ccdea3.tar yuzu-56d2958aaf2ef1350270e0e026d7de3fe7ccdea3.tar.gz yuzu-56d2958aaf2ef1350270e0e026d7de3fe7ccdea3.tar.bz2 yuzu-56d2958aaf2ef1350270e0e026d7de3fe7ccdea3.tar.lz yuzu-56d2958aaf2ef1350270e0e026d7de3fe7ccdea3.tar.xz yuzu-56d2958aaf2ef1350270e0e026d7de3fe7ccdea3.tar.zst yuzu-56d2958aaf2ef1350270e0e026d7de3fe7ccdea3.zip |
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-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: {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, "AcquireNpadStyleSetUpdateEventHandle"}, {107, nullptr, "DisconnectNpad"}, - {108, nullptr, "GetPlayerLedPattern"}, + {108, &Hid::GetPlayerLedPattern, "GetPlayerLedPattern"}, {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, @@ -358,6 +358,12 @@ private: LOG_WARNING(Service_HID, "(STUBBED) called"); } + void GetPlayerLedPattern(Kernel::HLERequestContext& ctx) { + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + LOG_WARNING(Service_HID, "(STUBBED) called"); + } + void SetNpadJoyHoldType(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); |