aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardCalcFlags.cs
blob: 0b0f138b6212d5f9c25e45db573f411f295b4ed0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;

namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
{
    /// <summary>
    /// Bitmask of commands encoded in the Flags field of the Calc structs.
    /// </summary>
    [Flags]
    enum KeyboardCalcFlags : ulong
    {
        Initialize            = 0x1,
        SetVolume             = 0x2,
        Appear                = 0x4,
        SetInputText          = 0x8,
        SetCursorPos          = 0x10,
        SetUtf8Mode           = 0x20,
        SetKeyboardBackground = 0x100,
        SetKeyboardOptions1   = 0x200,
        SetKeyboardOptions2   = 0x800,
        EnableSeGroup         = 0x2000,
        DisableSeGroup        = 0x4000,
        SetBackspaceEnabled   = 0x8000,
        AppearTrigger         = 0x10000,
        MustShow              = Appear | SetInputText | AppearTrigger
    }
}