using System.Runtime.InteropServices; namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard { /// /// A structure with custom dictionary words for the software keyboard. /// [StructLayout(LayoutKind.Sequential, Pack = 2)] struct SoftwareKeyboardDictSet { /// /// A 0x1000-byte aligned buffer position. /// public ulong BufferPosition; /// /// A 0x1000-byte aligned buffer size. /// public uint BufferSize; /// /// Array of word entries in the buffer. /// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 24)] public ulong[] Entries; /// /// Number of used entries in the Entries field. /// public ushort TotalEntries; public ushort Padding1; } }