SoftwareKeyboardInitialize.cs 780 B

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