From c14c69a10c936f485a4420c93499bd4c3efa8b09 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Fri, 2 Mar 2018 22:49:17 -0300 Subject: Refactor HID, fix issues (#48) * Refactor HID, fix issues * Fix on touch screen code with wrong offset * Don't use magic values * Replace more magic values with actual variables, fix touch screen coordinates on different window sizes --- Ryujinx.Core/Hid/HidControllerLayouts.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Ryujinx.Core/Hid/HidControllerLayouts.cs (limited to 'Ryujinx.Core/Hid/HidControllerLayouts.cs') diff --git a/Ryujinx.Core/Hid/HidControllerLayouts.cs b/Ryujinx.Core/Hid/HidControllerLayouts.cs new file mode 100644 index 00000000..e04c40b2 --- /dev/null +++ b/Ryujinx.Core/Hid/HidControllerLayouts.cs @@ -0,0 +1,13 @@ +namespace Ryujinx.Core.Input +{ + public enum HidControllerLayouts + { + Pro_Controller = 0, + Handheld_Joined = 1, + Joined = 2, + Left = 3, + Right = 4, + Main_No_Analog = 5, + Main = 6 + } +} \ No newline at end of file -- cgit v1.2.3