diff --git a/Ryujinx.HLE/OsHle/Services/Hid/IHidServer.cs b/Ryujinx.HLE/OsHle/Services/Hid/IHidServer.cs index 79d37fd4c9..2545f8045a 100644 --- a/Ryujinx.HLE/OsHle/Services/Hid/IHidServer.cs +++ b/Ryujinx.HLE/OsHle/Services/Hid/IHidServer.cs @@ -22,10 +22,12 @@ namespace Ryujinx.HLE.OsHle.Services.Hid { 31, ActivateKeyboard }, { 66, StartSixAxisSensor }, { 79, SetGyroscopeZeroDriftMode }, + { 82, IsSixAxisSensorAtRest }, { 100, SetSupportedNpadStyleSet }, { 101, GetSupportedNpadStyleSet }, { 102, SetSupportedNpadIdType }, { 103, ActivateNpad }, + { 107, DisconnectNpad }, { 108, GetPlayerLedPattern }, { 120, SetNpadJoyHoldType }, { 121, GetNpadJoyHoldType }, @@ -103,6 +105,16 @@ namespace Ryujinx.HLE.OsHle.Services.Hid return 0; } + + public long IsSixAxisSensorAtRest(ServiceCtx Context) + { + int Handle = Context.RequestData.ReadInt32(); + long AppletResourceUserId = Context.RequestData.ReadInt64(); + + Context.ResponseData.Write(true); + + return 0; + } public long GetSupportedNpadStyleSet(ServiceCtx Context) { @@ -141,6 +153,15 @@ namespace Ryujinx.HLE.OsHle.Services.Hid return 0; } + public long DisconnectNpad(ServiceCtx Context) + { + int Id = Context.RequestData.ReadInt32(); + + long AppletResourceUserId = Context.RequestData.ReadInt64(); + + return 0; + } + public long GetPlayerLedPattern(ServiceCtx Context) { long Unknown = Context.RequestData.ReadInt32();