Implement SwapNpadAssignment on IHidServer

This commit is contained in:
Lordmau5 2018-06-11 01:54:07 +02:00
parent 518fe799da
commit 9eba2d80f7

View file

@ -34,6 +34,7 @@ namespace Ryujinx.Core.OsHle.Services.Hid
{ 124, SetNpadJoyAssignmentModeDual },
{ 125, MergeSingleJoyAsDualJoy },
{ 128, SetNpadHandheldActivationMode },
{ 130, SwapNpadAssignment },
{ 200, GetVibrationDeviceInfo },
{ 201, SendVibrationValue },
{ 203, CreateActiveVibrationDeviceList },
@ -226,6 +227,13 @@ namespace Ryujinx.Core.OsHle.Services.Hid
return 0;
}
public long SwapNpadAssignment(ServiceCtx Context)
{
Context.Ns.Log.PrintStub(LogClass.ServiceHid, "Stubbed.");
return 0;
}
public long GetVibrationDeviceInfo(ServiceCtx Context)
{
int VibrationDeviceHandle = Context.RequestData.ReadInt32();