This commit is contained in:
emmauss 2018-04-05 01:16:59 +03:00 committed by gdkchan
parent 21f6e3699e
commit 17d74d2643
8 changed files with 59 additions and 4 deletions

View file

@ -15,6 +15,7 @@ namespace Ryujinx.Core.OsHle.Services.Hid
m_Commands = new Dictionary<int, ServiceProcessRequest>()
{
{ 0, CreateAppletResource },
{ 1, ActivateDebugPad },
{ 11, ActivateTouchScreen },
{ 66, StartSixAxisSensor },
{ 100, SetSupportedNpadStyleSet },
@ -22,6 +23,7 @@ namespace Ryujinx.Core.OsHle.Services.Hid
{ 102, SetSupportedNpadIdType },
{ 103, ActivateNpad },
{ 120, SetNpadJoyHoldType },
{ 121, GetNpadJoyHoldType },
{ 122, SetNpadJoyAssignmentModeSingleByDefault },
{ 123, SetNpadJoyAssignmentModeSingle },
{ 124, SetNpadJoyAssignmentModeDual },
@ -39,6 +41,11 @@ namespace Ryujinx.Core.OsHle.Services.Hid
return 0;
}
public long ActivateDebugPad(ServiceCtx Context)
{
return 0;
}
public long ActivateTouchScreen(ServiceCtx Context)
{
long Unknown = Context.RequestData.ReadInt64();