Эх сурвалжийг харах

Stub ActivateKeyboard on Hid

gdkchan 8 жил өмнө
parent
commit
2d33756878

+ 8 - 0
Ryujinx.Core/OsHle/Services/Hid/ServiceHid.cs

@@ -18,6 +18,7 @@ namespace Ryujinx.Core.OsHle.Services.Hid
                 {   1, ActivateDebugPad                        },
                 {   1, ActivateDebugPad                        },
                 {  11, ActivateTouchScreen                     },
                 {  11, ActivateTouchScreen                     },
                 {  21, ActivateMouse                           },
                 {  21, ActivateMouse                           },
+                {  31, ActivateKeyboard                        },
                 {  66, StartSixAxisSensor                      },
                 {  66, StartSixAxisSensor                      },
                 { 100, SetSupportedNpadStyleSet                },
                 { 100, SetSupportedNpadStyleSet                },
                 { 101, GetSupportedNpadStyleSet                },
                 { 101, GetSupportedNpadStyleSet                },
@@ -61,6 +62,13 @@ namespace Ryujinx.Core.OsHle.Services.Hid
             return 0;
             return 0;
         }
         }
 
 
+        public long ActivateKeyboard(ServiceCtx Context)
+        {
+            long AppletResourceUserId = Context.RequestData.ReadInt64();
+
+            return 0;
+        }
+
         public long StartSixAxisSensor(ServiceCtx Context)
         public long StartSixAxisSensor(ServiceCtx Context)
         {
         {
             int Handle = Context.RequestData.ReadInt32();
             int Handle = Context.RequestData.ReadInt32();