Changes

318 bytes added ,  00:37, 23 December 2018
Line 41: Line 41:  
| 0x18 || 2 || 0 || UTF-16 "right optional symbol key"
 
| 0x18 || 2 || 0 || UTF-16 "right optional symbol key"
 
|-
 
|-
| 0x1A || 1 || 0 ||
+
| 0x1A || 1 || 0 || Enables dictionary usage when non-zero (including the system dictionary).
 
|-
 
|-
 
| 0x1C || 4 || 0 || Key set disable bitmask
 
| 0x1C || 4 || 0 || Key set disable bitmask
Line 53: Line 53:  
| 0x1A8 || 514 || u"" || UTF-16 guide text
 
| 0x1A8 || 514 || u"" || UTF-16 guide text
 
|-
 
|-
| 0x3AC || 4 || 0 || String length limit (defaults to 500?)
+
| 0x3AC || 4 || 0 || stringLenMax
 
|-
 
|-
| 0x3B0 || 4 || 0 ||
+
| 0x3B0 || 4 || 0 || stringLenMaxExt. When non-zero, specifies the max string length. When the input is too long, swkbd will display an icon and disable the ok-button.
 
|-
 
|-
 
| 0x3B4 || 4 || 0 || Password flag (0 = not password, 1 = password)
 
| 0x3B4 || 4 || 0 || Password flag (0 = not password, 1 = password)
Line 90: Line 90:  
The 0x20-bytes at offset 0x3E0 is -1 normally, except for DownloadCodes. This is presumably an extension to [[#Key Set Disable Bitmask]]?(The field at 0x1C is still set to 0x80 here)
 
The 0x20-bytes at offset 0x3E0 is -1 normally, except for DownloadCodes. This is presumably an extension to [[#Key Set Disable Bitmask]]?(The field at 0x1C is still set to 0x80 here)
   −
If the length limit is <= 32, the text entry box will be a single row and show the header/sub text. Otherwise, it will use multiple rows and the header/sub text will not be shown.
+
If the length limit (stringLenMax) is <= 32, the text entry box will be a line and show the header/sub text. Otherwise, it will use a text-box and the header/sub text will not be shown. When the input is too long, swkbd will stop accepting more input until text is deleted via the B button (Backspace).
    
Each entry in the user dictionary is 100 bytes long.
 
Each entry in the user dictionary is 100 bytes long.