mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-06 16:03:05 +00:00
stub HID 82
This commit is contained in:
parent
d4187aaa9d
commit
1c07f24fdf
1 changed files with 13 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue