mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-08 20:02:39 +00:00
stub HID 82
This commit is contained in:
parent
d4187aaa9d
commit
1c07f24fdf
|
@ -26,6 +26,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
||||||
{ 31, ActivateKeyboard },
|
{ 31, ActivateKeyboard },
|
||||||
{ 66, StartSixAxisSensor },
|
{ 66, StartSixAxisSensor },
|
||||||
{ 79, SetGyroscopeZeroDriftMode },
|
{ 79, SetGyroscopeZeroDriftMode },
|
||||||
|
{ 82, IsSixAxisSensorAtRest },
|
||||||
{ 100, SetSupportedNpadStyleSet },
|
{ 100, SetSupportedNpadStyleSet },
|
||||||
{ 101, GetSupportedNpadStyleSet },
|
{ 101, GetSupportedNpadStyleSet },
|
||||||
{ 102, SetSupportedNpadIdType },
|
{ 102, SetSupportedNpadIdType },
|
||||||
|
@ -111,6 +112,18 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
||||||
return 0;
|
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)
|
public long AcquireNpadStyleSetUpdateEventHandle(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
int Handle = Context.Process.HandleTable.OpenHandle(NpadStyleSetUpdateEvent);
|
int Handle = Context.Process.HandleTable.OpenHandle(NpadStyleSetUpdateEvent);
|
||||||
|
|
Loading…
Reference in a new issue