diff --git a/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs b/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs index 70f1f1f1f..0c58adf25 100644 --- a/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs +++ b/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs @@ -26,6 +26,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid { 31, ActivateKeyboard }, { 66, StartSixAxisSensor }, { 79, SetGyroscopeZeroDriftMode }, + { 82, IsSixAxisSensorAtRest }, { 100, SetSupportedNpadStyleSet }, { 101, GetSupportedNpadStyleSet }, { 102, SetSupportedNpadIdType }, @@ -111,6 +112,18 @@ namespace Ryujinx.HLE.HOS.Services.Hid return 0; } + public long IsSixAxisSensorAtRest(ServiceCtx Context) + { + int Handle = Context.RequestData.ReadInt32(); + long AppletResourceUserId = Context.RequestData.ReadInt64(); + + Context.ResponseData.Write(true); + + Context.Device.Log.PrintStub(LogClass.ServiceHid, "Stubbed."); + + return 0; + } + public long AcquireNpadStyleSetUpdateEventHandle(ServiceCtx Context) { int Handle = Context.Process.HandleTable.OpenHandle(NpadStyleSetUpdateEvent);