SoftwareKeyboardInitialize.cs
1 using System.Runtime.InteropServices; 2 3 namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard 4 { 5 /// <summary> 6 /// A structure that mirrors the parameters used to initialize the keyboard applet. 7 /// </summary> 8 [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] 9 struct SoftwareKeyboardInitialize 10 { 11 public uint Unknown; 12 13 /// <summary> 14 /// The applet mode used when launching the swkb. The bits regarding the background vs foreground mode can be wrong. 15 /// </summary> 16 public byte LibMode; 17 18 /// <summary> 19 /// [5.0.0+] Set to 0x1 to indicate a firmware version >= 5.0.0. 20 /// </summary> 21 public byte FivePlus; 22 23 public byte Padding1; 24 public byte Padding2; 25 } 26 }