forked from Mirror/Ryujinx
322f28668d
* Start refactoring IPC objects (started with IFile and IFileSystem) * End refactoring IPC objects (#8) * End refactoring IPC objects * End refactoring IPC objects corrections
56 lines
No EOL
1.4 KiB
C#
56 lines
No EOL
1.4 KiB
C#
using Ryujinx.OsHle.Handles;
|
|
using Ryujinx.OsHle.Objects.Hid;
|
|
|
|
using static Ryujinx.OsHle.Objects.ObjHelper;
|
|
|
|
namespace Ryujinx.OsHle.Services
|
|
{
|
|
static partial class Service
|
|
{
|
|
public static long HidCreateAppletResource(ServiceCtx Context)
|
|
{
|
|
HSharedMem HidHndData = Context.Ns.Os.Handles.GetData<HSharedMem>(Context.Ns.Os.HidHandle);
|
|
|
|
MakeObject(Context, new IAppletResource(HidHndData));
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long HidActivateTouchScreen(ServiceCtx Context)
|
|
{
|
|
long Unknown = Context.RequestData.ReadInt64();
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long HidSetSupportedNpadStyleSet(ServiceCtx Context)
|
|
{
|
|
long Unknown0 = Context.RequestData.ReadInt64();
|
|
long Unknown8 = Context.RequestData.ReadInt64();
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long HidSetSupportedNpadIdType(ServiceCtx Context)
|
|
{
|
|
long Unknown = Context.RequestData.ReadInt64();
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long HidActivateNpad(ServiceCtx Context)
|
|
{
|
|
long Unknown = Context.RequestData.ReadInt64();
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long HidSetNpadJoyHoldType(ServiceCtx Context)
|
|
{
|
|
long Unknown0 = Context.RequestData.ReadInt64();
|
|
long Unknown8 = Context.RequestData.ReadInt64();
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
} |