This commit is contained in:
greggameplayer 2018-08-11 20:07:13 +00:00 committed by GitHub
commit 057e495f05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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