| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- using Ryujinx.Core.OsHle.Handles;
- using Ryujinx.Core.OsHle.Objects.Hid;
- using static Ryujinx.Core.OsHle.Objects.ObjHelper;
- namespace Ryujinx.Core.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 HidGetSupportedNpadStyleSet(ServiceCtx Context)
- {
- Context.ResponseData.Write(0);
- 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;
- }
- public static long HidGetNpadJoyHoldType(ServiceCtx Context)
- {
- Context.ResponseData.Write(0L);
- return 0;
- }
- public static long HidCreateActiveVibrationDeviceList(ServiceCtx Context)
- {
- MakeObject(Context, new IActiveApplicationDeviceList());
- return 0;
- }
- }
- }
|