Implement SwapNpadAssignment on IHidServer
This commit is contained in:
parent
518fe799da
commit
9eba2d80f7
1 changed files with 8 additions and 0 deletions
|
@ -34,6 +34,7 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
||||||
{ 124, SetNpadJoyAssignmentModeDual },
|
{ 124, SetNpadJoyAssignmentModeDual },
|
||||||
{ 125, MergeSingleJoyAsDualJoy },
|
{ 125, MergeSingleJoyAsDualJoy },
|
||||||
{ 128, SetNpadHandheldActivationMode },
|
{ 128, SetNpadHandheldActivationMode },
|
||||||
|
{ 130, SwapNpadAssignment },
|
||||||
{ 200, GetVibrationDeviceInfo },
|
{ 200, GetVibrationDeviceInfo },
|
||||||
{ 201, SendVibrationValue },
|
{ 201, SendVibrationValue },
|
||||||
{ 203, CreateActiveVibrationDeviceList },
|
{ 203, CreateActiveVibrationDeviceList },
|
||||||
|
@ -226,6 +227,13 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long SwapNpadAssignment(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
Context.Ns.Log.PrintStub(LogClass.ServiceHid, "Stubbed.");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
public long GetVibrationDeviceInfo(ServiceCtx Context)
|
public long GetVibrationDeviceInfo(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
int VibrationDeviceHandle = Context.RequestData.ReadInt32();
|
int VibrationDeviceHandle = Context.RequestData.ReadInt32();
|
||||||
|
|
Loading…
Reference in a new issue