mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 02:53:04 +00:00
d254548548
* change hid sharedmem writing to use structures
15 lines
359 B
C#
15 lines
359 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.Input
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct KeyboardEntry
|
|
{
|
|
public long SamplesTimestamp;
|
|
public long SamplesTimestamp2;
|
|
public long Modifier;
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray , SizeConst = 0x8)]
|
|
public int[] Keys;
|
|
}
|
|
}
|