Software Keyboard: Difference between revisions
No edit summary |
Tested by fincs. |
||
Line 77: | Line 77: | ||
| 0x3D8 || 8 || 0 || [[#Text check]] callback function address. Not sure why this is included here | | 0x3D8 || 8 || 0 || [[#Text check]] callback function address. Not sure why this is included here | ||
|- | |- | ||
| 0x3E0 || | | 0x3E0 || 0x20 || -1 || When set and enabled via textDrawType, controls displayed text grouping (inserts spaces, without affecting output string). Used for DownloadCodes. | ||
|} | |} | ||
Line 94: | Line 88: | ||
stringLenMax: When the input is too long, swkbd will stop accepting more input until text is deleted via the B button (Backspace). | stringLenMax: When the input is too long, swkbd will stop accepting more input until text is deleted via the B button (Backspace). | ||
== Type == | === Type === | ||
* 0: Normal keyboard. | * 0: Normal keyboard. | ||
* 1: Number pad. The buttons at the bottom left/right are only available when the characters at offset 0x16/0x18 are set. | * 1: Number pad. The buttons at the bottom left/right are only available when the characters at offset 0x16/0x18 are set. | ||
* 2: QWERTY (and variants) keyboard only. | * 2: QWERTY (and variants) keyboard only. | ||
== textDrawType == | === textDrawType === | ||
If the length limit (stringLenMax) is 1..32, the type specified by textDrawType will be used. Otherwise, type1 will be used. | If the length limit (stringLenMax) is 1..32, the type specified by textDrawType will be used. Otherwise, type1 will be used. | ||
* 0: The text will be displayed on a line. Also enables displaying the Header and Sub text. | * 0: The text will be displayed on a line. Also enables displaying the Header and Sub text. | ||
* 1: The text will be displayed in a box. | * 1: The text will be displayed in a box. | ||
* 2: Used for DownloadCodes on 5.0.0+. | * 2: Used for DownloadCodes on 5.0.0+. Enables using the data starting at offset 0x3E0. | ||
=== Key Set Disable Bitmask === | === Key Set Disable Bitmask === |