From 2d337568783e5aaf87be5bc82c14bccc87c24cb7 Mon Sep 17 00:00:00 2001
From: gdkchan <gab.dark.100@gmail.com>
Date: Wed, 4 Apr 2018 19:44:02 -0300
Subject: [PATCH] Stub ActivateKeyboard on Hid

---
 Ryujinx.Core/OsHle/Services/Hid/ServiceHid.cs | 8 ++++++++
 1 file changed, 8 insertions(+)

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