diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-10-11 17:56:49 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-10-11 17:56:49 +0200 |
commit | 85b0d9a7be05eeec2fc230003341f9b444a17bf5 (patch) | |
tree | 5dca2a50ae7fa24be3213a60cb39fa09dbfd88f7 /src/core/hle/service/hid/hid.cpp | |
parent | Added BeginPermitVibrationSession and EndPermitVibrationSession (diff) | |
download | yuzu-85b0d9a7be05eeec2fc230003341f9b444a17bf5.tar yuzu-85b0d9a7be05eeec2fc230003341f9b444a17bf5.tar.gz yuzu-85b0d9a7be05eeec2fc230003341f9b444a17bf5.tar.bz2 yuzu-85b0d9a7be05eeec2fc230003341f9b444a17bf5.tar.lz yuzu-85b0d9a7be05eeec2fc230003341f9b444a17bf5.tar.xz yuzu-85b0d9a7be05eeec2fc230003341f9b444a17bf5.tar.zst yuzu-85b0d9a7be05eeec2fc230003341f9b444a17bf5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 65ee1d9bb..e5cbd2ef6 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -347,6 +347,8 @@ private: } void StartSixAxisSensor(Kernel::HLERequestContext& ctx) { + IPC::RequestParser rp{ctx}; + auto handle = rp.PopRaw<u32>(); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); LOG_WARNING(Service_HID, "(STUBBED) called"); @@ -539,6 +541,8 @@ private: IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); LOG_WARNING(Service_HID, "(STUBBED) called"); + applet_resource->GetController<Controller_NPad>(HidController::NPad) + .SetHandheldActiviationMode(mode); } void GetVibrationDeviceInfo(Kernel::HLERequestContext& ctx) { |