aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-04-04 19:39:47 -0300
committergdkchan <gab.dark.100@gmail.com>2018-04-04 19:39:47 -0300
commitc8b6274456deb71ec7b91fa2da5bc233a8a7e0fa (patch)
treef3b118d2d8429ac68210467359c322a226c540e4
parenta3d6baab91de9ea7aa8e33b696c652da5c10ca15 (diff)
Stub ActivateMouse on Hid
-rw-r--r--Ryujinx.Core/OsHle/Services/Hid/ServiceHid.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Hid/ServiceHid.cs b/Ryujinx.Core/OsHle/Services/Hid/ServiceHid.cs
index 7c9a350b..1f60a278 100644
--- a/Ryujinx.Core/OsHle/Services/Hid/ServiceHid.cs
+++ b/Ryujinx.Core/OsHle/Services/Hid/ServiceHid.cs
@@ -17,6 +17,7 @@ namespace Ryujinx.Core.OsHle.Services.Hid
{ 0, CreateAppletResource },
{ 1, ActivateDebugPad },
{ 11, ActivateTouchScreen },
+ { 21, ActivateMouse },
{ 66, StartSixAxisSensor },
{ 100, SetSupportedNpadStyleSet },
{ 101, GetSupportedNpadStyleSet },
@@ -48,7 +49,14 @@ namespace Ryujinx.Core.OsHle.Services.Hid
public long ActivateTouchScreen(ServiceCtx Context)
{
- long Unknown = Context.RequestData.ReadInt64();
+ long AppletResourceUserId = Context.RequestData.ReadInt64();
+
+ return 0;
+ }
+
+ public long ActivateMouse(ServiceCtx Context)
+ {
+ long AppletResourceUserId = Context.RequestData.ReadInt64();
return 0;
}
@@ -119,7 +127,7 @@ namespace Ryujinx.Core.OsHle.Services.Hid
HidControllerId HidControllerId = (HidControllerId)Context.RequestData.ReadInt32();
long AppletUserResourseId = Context.RequestData.ReadInt64();
long NpadJoyDeviceType = Context.RequestData.ReadInt64();
-
+
return 0;
}