From 3443023a0844822f4f320ea4f75d9522fb5bbc01 Mon Sep 17 00:00:00 2001 From: Mary Date: Sun, 2 May 2021 22:01:30 +0200 Subject: hid: Rewrite shared memory management (#2257) * hid: Rewrite shared memory management This entirely rewrite our ancient (and original) HID shared memory interface to be more usable and accurate. HID update logics were updated to reflect those changes but should work still the same way it previously did. This need heavy testing just in case to avoid possible regressions. * Silence warnings * Address gdkchan's comments * Address Ac_K's comments * Address one missing nit --- Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs') diff --git a/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs b/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs index fd89e8f6..0597cf9b 100644 --- a/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs +++ b/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs @@ -4,6 +4,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Ryujinx.Common.Logging; using Ryujinx.HLE.HOS.Services.Hid; +using Ryujinx.HLE.HOS.Services.Hid.Types; using Ryujinx.HLE.HOS.Services.Am.AppletAE; using static Ryujinx.HLE.HOS.Services.Hid.HidServer.HidUtils; -- cgit v1.2.3