diff options
| author | David Marcec <dmarcecguzman@gmail.com> | 2018-10-12 02:56:49 +1100 |
|---|---|---|
| committer | David Marcec <dmarcecguzman@gmail.com> | 2018-10-12 02:56:49 +1100 |
| commit | 85b0d9a7be05eeec2fc230003341f9b444a17bf5 (patch) | |
| tree | 5dca2a50ae7fa24be3213a60cb39fa09dbfd88f7 /src/core/hle/service/hid/hid.cpp | |
| parent | 9e924f2ef2add0f351df6addc01c356b52c8d7be (diff) | |
Dynamically decide handheld variant based on supported npad id priority
Kirby input still doesn't work, should fix a lot of other games
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
| -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) { |
