Improve inline keyboard compatibility (#1959)
* Improve compatibility of the inline keyboard with some games * Send an empty first text to avoid crashing some games * Implement SetCustomizedDictionaries and fix SetCustomizeDic * Expand Bg and Fg abbreviations in the swkbd applet * Fix variable names and add comments to software keyboard
This commit is contained in:
parent
e28a924501
commit
f16d7f91f1
11 changed files with 626 additions and 207 deletions
|
@ -3,14 +3,23 @@
|
|||
namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
||||
{
|
||||
/// <summary>
|
||||
/// A structure that indicates the initialization the inline software keyboard.
|
||||
/// A structure that mirrors the parameters used to initialize the keyboard applet.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
|
||||
struct SoftwareKeyboardInitialize
|
||||
{
|
||||
public uint Unknown;
|
||||
|
||||
/// <summary>
|
||||
/// The applet mode used when launching the swkb. The bits regarding the background vs foreground mode can be wrong.
|
||||
/// </summary>
|
||||
public byte LibMode;
|
||||
|
||||
/// <summary>
|
||||
/// [5.0.0+] Set to 0x1 to indicate a firmware version >= 5.0.0.
|
||||
/// </summary>
|
||||
public byte FivePlus;
|
||||
|
||||
public byte Padding1;
|
||||
public byte Padding2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue