From dc02ac08caa84456e8b280a3347ac8907b5249ff Mon Sep 17 00:00:00 2001 From: emmauss Date: Tue, 20 Nov 2018 02:01:36 +0200 Subject: Support other switch controller types (#487) * Make controllers modular, support changing controller type * return readable events * signal hid events * fix style --- Ryujinx.HLE/Input/HidControllerConnState.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Ryujinx.HLE/Input/HidControllerConnState.cs (limited to 'Ryujinx.HLE/Input/HidControllerConnState.cs') diff --git a/Ryujinx.HLE/Input/HidControllerConnState.cs b/Ryujinx.HLE/Input/HidControllerConnState.cs new file mode 100644 index 00000000..1fc9482a --- /dev/null +++ b/Ryujinx.HLE/Input/HidControllerConnState.cs @@ -0,0 +1,11 @@ +using System; + +namespace Ryujinx.HLE.Input +{ + [Flags] + public enum HidControllerConnState + { + Controller_State_Connected = (1 << 0), + Controller_State_Wired = (1 << 1) + } +} \ No newline at end of file -- cgit v1.2.3