stub HID 82

This commit is contained in:
emmaus 2018-09-12 08:48:35 +00:00
parent d4187aaa9d
commit 1c07f24fdf

View file

@ -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);