diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-18 17:13:58 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-18 17:13:58 +0200 |
commit | de9604d63e95373b11ca641b84b6999cc369dd6b (patch) | |
tree | 817ea457ab717aba491372ba30f60ae36c03ecc5 | |
parent | Added StopSixAxisSensor (diff) | |
download | yuzu-de9604d63e95373b11ca641b84b6999cc369dd6b.tar yuzu-de9604d63e95373b11ca641b84b6999cc369dd6b.tar.gz yuzu-de9604d63e95373b11ca641b84b6999cc369dd6b.tar.bz2 yuzu-de9604d63e95373b11ca641b84b6999cc369dd6b.tar.lz yuzu-de9604d63e95373b11ca641b84b6999cc369dd6b.tar.xz yuzu-de9604d63e95373b11ca641b84b6999cc369dd6b.tar.zst yuzu-de9604d63e95373b11ca641b84b6999cc369dd6b.zip |
Diffstat (limited to '')
-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 e2c607319..256c49bfc 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -329,7 +329,7 @@ public: {80, nullptr, "GetGyroscopeZeroDriftMode"}, {81, nullptr, "ResetGyroscopeZeroDriftMode"}, {82, &Hid::IsSixAxisSensorAtRest, "IsSixAxisSensorAtRest"}, - {91, nullptr, "ActivateGesture"}, + {91, &Hid::ActivateGesture, "ActivateGesture"}, {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"}, {101, &Hid::GetSupportedNpadStyleSet, "GetSupportedNpadStyleSet"}, {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"}, @@ -597,6 +597,12 @@ private: rb.Push(RESULT_SUCCESS); LOG_WARNING(Service_HID, "(STUBBED) called"); } + + void ActivateGesture(Kernel::HLERequestContext& ctx) { + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + LOG_WARNING(Service_HID, "(STUBBED) called"); + } }; class HidDbg final : public ServiceFramework<HidDbg> { |