aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Input/Keyboard/KeyboardEntry.cs
blob: be7d9399d1fcddcf85af118b87740a8b436f93f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
    }
}