Updated swkbd example comments.

This commit is contained in:
yellows8 2019-04-09 18:26:58 -04:00
parent d6db1e45c9
commit 9b7b9e7268
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -77,12 +77,12 @@ int main(int argc, char* argv[])
//swkbdConfigSetSubText(&kbd, "Sub");
//swkbdConfigSetGuideText(&kbd, "Guide");
swkbdConfigSetTextCheckCallback(&kbd, validate_text);//Optional, enable to use TextCheck.
swkbdConfigSetTextCheckCallback(&kbd, validate_text);//Optional, can be removed if not using TextCheck.
// Set the initial string if you want.
//swkbdConfigSetInitialText(&kbd, "Initial");
// You can set arg fields directly if you want.
// You can also use swkbdConfigSet*() funcs if you want.
printf("Running swkbdShow...\n");
rc = swkbdShow(&kbd, tmpoutstr, sizeof(tmpoutstr));