summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-10-11 17:56:49 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-10-11 17:56:49 +0200
commit85b0d9a7be05eeec2fc230003341f9b444a17bf5 (patch)
tree5dca2a50ae7fa24be3213a60cb39fa09dbfd88f7 /src/core/hle/service/hid/hid.cpp
parentAdded BeginPermitVibrationSession and EndPermitVibrationSession (diff)
downloadyuzu-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 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp4
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) {