diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-31 22:05:45 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-31 22:06:46 +0200 |
commit | b6b7d78ded12e688bde384821e9a83d8a8d1c512 (patch) | |
tree | ab90f64ac3e5fb6e0d4cc4b82f2cb04658a8f66c /src/core/hle/service/hid | |
parent | hle_ipc: Do not ensure write buffer size. (diff) | |
download | yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.tar yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.tar.gz yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.tar.bz2 yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.tar.lz yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.tar.xz yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.tar.zst yuzu-b6b7d78ded12e688bde384821e9a83d8a8d1c512.zip |
Diffstat (limited to '')
-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: {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, {79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"}, {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"}, + {101, &Hid::GetSupportedNpadStyleSet, "GetSupportedNpadStyleSet"}, {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"}, {103, &Hid::ActivateNpad, "ActivateNpad"}, {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, @@ -265,6 +266,13 @@ private: LOG_WARNING(Service_HID, "(STUBBED) called"); } + void GetSupportedNpadStyleSet(Kernel::HLERequestContext& ctx) { + IPC::ResponseBuilder rb{ctx, 3}; + rb.Push(RESULT_SUCCESS); + rb.Push<u32>(0); + LOG_WARNING(Service_HID, "(STUBBED) called"); + } + void SetSupportedNpadIdType(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); |