mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 02:53:04 +00:00
added Hid_Max_Num_Touches constant
This commit is contained in:
parent
395c6cb82f
commit
dd103176fe
2 changed files with 3 additions and 2 deletions
|
@ -57,6 +57,7 @@ namespace Ryujinx.Core
|
||||||
public uint[] XTouches;
|
public uint[] XTouches;
|
||||||
public uint[] YTouches;
|
public uint[] YTouches;
|
||||||
public uint NumberOfTouches;
|
public uint NumberOfTouches;
|
||||||
|
public const uint Hid_Max_Num_Touches = 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -38,8 +38,8 @@ namespace Ryujinx
|
||||||
|
|
||||||
Touches CurrentTouchPoints = new Touches()
|
Touches CurrentTouchPoints = new Touches()
|
||||||
{
|
{
|
||||||
XTouches = new uint[16],
|
XTouches = new uint[Touches.Hid_Max_Num_Touches],
|
||||||
YTouches = new uint[16]
|
YTouches = new uint[Touches.Hid_Max_Num_Touches]
|
||||||
};
|
};
|
||||||
|
|
||||||
if (Keyboard[OpenTK.Input.Key.Escape]) this.Exit();
|
if (Keyboard[OpenTK.Input.Key.Escape]) this.Exit();
|
||||||
|
|
Loading…
Reference in a new issue