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:
11
Ryujinx.Core/Hid/HidTouchPoint.cs
Normal file
11
Ryujinx.Core/Hid/HidTouchPoint.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace Ryujinx.Core.Input
|
||||
{
|
||||
public struct HidTouchPoint
|
||||
{
|
||||
public int X;
|
||||
public int Y;
|
||||
public int DiameterX;
|
||||
public int DiameterY;
|
||||
public int Angle;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user