2021-01-11 19:27:55 +01:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2021-02-11 01:28:44 +01:00
|
|
|
|
/// A structure that mirrors the parameters used to initialize the keyboard applet.
|
2021-01-11 19:27:55 +01:00
|
|
|
|
/// </summary>
|
|
|
|
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
|
|
|
|
|
struct SoftwareKeyboardInitialize
|
|
|
|
|
{
|
|
|
|
|
public uint Unknown;
|
2021-02-11 01:28:44 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The applet mode used when launching the swkb. The bits regarding the background vs foreground mode can be wrong.
|
|
|
|
|
/// </summary>
|
2021-01-11 19:27:55 +01:00
|
|
|
|
public byte LibMode;
|
2021-02-11 01:28:44 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// [5.0.0+] Set to 0x1 to indicate a firmware version >= 5.0.0.
|
|
|
|
|
/// </summary>
|
2021-01-11 19:27:55 +01:00
|
|
|
|
public byte FivePlus;
|
2021-02-11 01:28:44 +01:00
|
|
|
|
|
2021-01-11 19:27:55 +01:00
|
|
|
|
public byte Padding1;
|
|
|
|
|
public byte Padding2;
|
|
|
|
|
}
|
|
|
|
|
}
|