2021-01-11 13:27:55 -05:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2021-02-10 19:28:44 -05:00
|
|
|
|
/// Possible states for the software keyboard when running in inline mode.
|
2021-01-11 13:27:55 -05:00
|
|
|
|
/// </summary>
|
|
|
|
|
enum InlineKeyboardState : uint
|
|
|
|
|
{
|
2021-02-10 19:28:44 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The software keyboard has just been created or finalized and is uninitialized.
|
|
|
|
|
/// </summary>
|
2021-01-11 13:27:55 -05:00
|
|
|
|
Uninitialized = 0x0,
|
2021-02-10 19:28:44 -05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A Calc was previously received and fulfilled, so the software keyboard is initialized, but is not processing input.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Initialized = 0x1,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A Calc was received and the software keyboard is processing input.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Ready = 0x2,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// New text data or cursor position of the software keyboard are available.
|
|
|
|
|
/// </summary>
|
2021-01-11 13:27:55 -05:00
|
|
|
|
DataAvailable = 0x3,
|
2021-02-10 19:28:44 -05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The Calc request was fulfilled with either a text input or a cancel.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Complete = 0x4
|
2021-01-11 13:27:55 -05:00
|
|
|
|
}
|
|
|
|
|
}
|