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
This commit is contained in:
13
Ryujinx.Core/Hid/HidControllerLayouts.cs
Normal file
13
Ryujinx.Core/Hid/HidControllerLayouts.cs
Normal file
@ -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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user