From 9b7b9e7268c0084170a3ab20af8f37a5e2e6b62c Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 9 Apr 2019 18:26:58 -0400 Subject: [PATCH] Updated swkbd example comments. --- applet/libapplets/software-keyboard/source/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applet/libapplets/software-keyboard/source/main.c b/applet/libapplets/software-keyboard/source/main.c index 5585e4d..6128217 100644 --- a/applet/libapplets/software-keyboard/source/main.c +++ b/applet/libapplets/software-keyboard/source/main.c @@ -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));