aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Input/HidControllerType.cs
diff options
context:
space:
mode:
authoremmauss <emmausssss@gmail.com>2018-11-20 02:01:36 +0200
committerAc_K <Acoustik666@gmail.com>2018-11-20 01:01:36 +0100
commitdc02ac08caa84456e8b280a3347ac8907b5249ff (patch)
treeef71cf05cba18da65c930328f955352f4859e67f /Ryujinx.HLE/Input/HidControllerType.cs
parent0c36835f6de563cd6b4a4c82cac25fbcfb0a6231 (diff)
Support other switch controller types (#487)
* Make controllers modular, support changing controller type * return readable events * signal hid events * fix style
Diffstat (limited to 'Ryujinx.HLE/Input/HidControllerType.cs')
-rw-r--r--Ryujinx.HLE/Input/HidControllerType.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Input/HidControllerType.cs b/Ryujinx.HLE/Input/HidControllerType.cs
new file mode 100644
index 00000000..74bca365
--- /dev/null
+++ b/Ryujinx.HLE/Input/HidControllerType.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace Ryujinx.HLE.Input
+{
+ [Flags]
+ public enum HidControllerType
+ {
+ ProController = 1 << 0,
+ Handheld = 1 << 1,
+ NpadPair = 1 << 2,
+ NpadLeft = 1 << 3,
+ NpadRight = 1 << 4
+ }
+} \ No newline at end of file