InlineKeyboardRequest.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
  2. {
  3. /// <summary>
  4. /// Possible requests to the software keyboard when running in inline mode.
  5. /// </summary>
  6. enum InlineKeyboardRequest : uint
  7. {
  8. /// <summary>
  9. /// Finalize the keyboard applet.
  10. /// </summary>
  11. Finalize = 0x4,
  12. /// <summary>
  13. /// Set user words for text prediction.
  14. /// </summary>
  15. SetUserWordInfo = 0x6,
  16. /// <summary>
  17. /// Sets the CustomizeDic data. Can't be used if CustomizedDictionaries is already set.
  18. /// </summary>
  19. SetCustomizeDic = 0x7,
  20. /// <summary>
  21. /// Configure the keyboard applet and put it in a state where it is processing input.
  22. /// </summary>
  23. Calc = 0xA,
  24. /// <summary>
  25. /// Set custom dictionaries for text prediction. Can't be used if SetCustomizeDic is already set.
  26. /// </summary>
  27. SetCustomizedDictionaries = 0xB,
  28. /// <summary>
  29. /// Release custom dictionaries data.
  30. /// </summary>
  31. UnsetCustomizedDictionaries = 0xC,
  32. /// <summary>
  33. /// [8.0.0+] Request the keyboard applet to use the ChangedStringV2 response when notifying changes in text data.
  34. /// </summary>
  35. UseChangedStringV2 = 0xD,
  36. /// <summary>
  37. /// [8.0.0+] Request the keyboard applet to use the MovedCursorV2 response when notifying changes in cursor position.
  38. /// </summary>
  39. UseMovedCursorV2 = 0xE
  40. }
  41. }