/ src / Ryujinx.HLE / HOS / Applets / SoftwareKeyboard / InlineKeyboardResponse.cs
InlineKeyboardResponse.cs
 1  namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
 2  {
 3      /// <summary>
 4      /// Possible responses from the software keyboard when running in inline mode.
 5      /// </summary>
 6      enum InlineKeyboardResponse : uint
 7      {
 8          /// <summary>
 9          /// The software keyboard received a Calc and it is fully initialized. Reply data is ignored by the user-process.
10          /// </summary>
11          FinishedInitialize = 0x0,
12  
13          /// <summary>
14          /// Default response. Official sw has no handling for this besides just closing the storage.
15          /// </summary>
16          Default = 0x1,
17  
18          /// <summary>
19          /// The text data in the software keyboard changed (UTF-16 encoding).
20          /// </summary>
21          ChangedString = 0x2,
22  
23          /// <summary>
24          /// The cursor position in the software keyboard changed (UTF-16 encoding).
25          /// </summary>
26          MovedCursor = 0x3,
27  
28          /// <summary>
29          /// A tab in the software keyboard changed.
30          /// </summary>
31          MovedTab = 0x4,
32  
33          /// <summary>
34          /// The OK key was pressed in the software keyboard, confirming the input text (UTF-16 encoding).
35          /// </summary>
36          DecidedEnter = 0x5,
37  
38          /// <summary>
39          /// The Cancel key was pressed in the software keyboard, cancelling the input.
40          /// </summary>
41          DecidedCancel = 0x6,
42  
43          /// <summary>
44          /// Same as ChangedString, but with UTF-8 encoding.
45          /// </summary>
46          ChangedStringUtf8 = 0x7,
47  
48          /// <summary>
49          /// Same as MovedCursor, but with UTF-8 encoding.
50          /// </summary>
51          MovedCursorUtf8 = 0x8,
52  
53          /// <summary>
54          /// Same as DecidedEnter, but with UTF-8 encoding.
55          /// </summary>
56          DecidedEnterUtf8 = 0x9,
57  
58          /// <summary>
59          /// They software keyboard is releasing the data previously set by a SetCustomizeDic request.
60          /// </summary>
61          UnsetCustomizeDic = 0xA,
62  
63          /// <summary>
64          /// They software keyboard is releasing the data previously set by a SetUserWordInfo request.
65          /// </summary>
66          ReleasedUserWordInfo = 0xB,
67  
68          /// <summary>
69          /// They software keyboard is releasing the data previously set by a SetCustomizedDictionaries request.
70          /// </summary>
71          UnsetCustomizedDictionaries = 0xC,
72  
73          /// <summary>
74          /// Same as ChangedString, but with additional fields.
75          /// </summary>
76          ChangedStringV2 = 0xD,
77  
78          /// <summary>
79          /// Same as MovedCursor, but with additional fields.
80          /// </summary>
81          MovedCursorV2 = 0xE,
82  
83          /// <summary>
84          /// Same as ChangedStringUtf8, but with additional fields.
85          /// </summary>
86          ChangedStringUtf8V2 = 0xF,
87  
88          /// <summary>
89          /// Same as MovedCursorUtf8, but with additional fields.
90          /// </summary>
91          MovedCursorUtf8V2 = 0x10,
92      }
93  }