input: Fixes TouchPoint wrong attribute (#2390)
This commit is contained in:
@ -31,6 +31,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
||||
newState.Touches[i] = new TouchState
|
||||
{
|
||||
DeltaTime = newState.SamplingNumber,
|
||||
Attribute = pi.Attribute,
|
||||
X = pi.X,
|
||||
Y = pi.Y,
|
||||
FingerId = (uint)i,
|
||||
|
@ -1,7 +1,10 @@
|
||||
using Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.TouchScreen;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Services.Hid
|
||||
{
|
||||
public struct TouchPoint
|
||||
{
|
||||
public TouchAttribute Attribute;
|
||||
public uint X;
|
||||
public uint Y;
|
||||
public uint DiameterX;
|
||||
|
@ -3,7 +3,7 @@
|
||||
namespace Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.TouchScreen
|
||||
{
|
||||
[Flags]
|
||||
enum TouchAttribute : uint
|
||||
public enum TouchAttribute : uint
|
||||
{
|
||||
None = 0,
|
||||
Start = 1 << 0,
|
||||
|
Reference in New Issue
Block a user