KeyboardEntry.cs 359 B

123456789101112131415
  1. using System.Runtime.InteropServices;
  2. namespace Ryujinx.HLE.Input
  3. {
  4. [StructLayout(LayoutKind.Sequential)]
  5. public struct KeyboardEntry
  6. {
  7. public long SamplesTimestamp;
  8. public long SamplesTimestamp2;
  9. public long Modifier;
  10. [MarshalAs(UnmanagedType.ByValArray , SizeConst = 0x8)]
  11. public int[] Keys;
  12. }
  13. }