From ea5b0fb33a8cf84c80844560df9b64e5ff272480 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 8 Feb 2026 18:41:35 -0500 Subject: [PATCH] Clip Plus, Zip, Xduoo X3 Reconfigure keyboard to better use screen Someone opened a bug, its not a bug but it is annoying these are the smallest screens so the 18 character width ends up wasting lines that could be displaying characters this layout repeats some but should be more ergonomic Change-Id: I2ed4c0887477aac49821c4edb6f3bf174e38d36e --- apps/recorder/keyboard.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 9ed8f3f12f..22fbbb2395 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -472,6 +472,37 @@ int kbd_input(char* text, int buflen, ucschar_t *kbd) } else #endif /* LCD_WIDTH >= 160 && LCD_HEIGHT >= 96 */ +#if (LCD_WIDTH == 128 && LCD_HEIGHT == 64) || (LCD_WIDTH == 96 && LCD_HEIGHT == 96) +/* CLIP PLUS & XDUOO X3 || CLIP ZIP*/ + { + p = "ABCDEFG !?\" $%+'\n" + "HIJKLMN 789 &_-`\n" + "OPQRSTU 456 §|/\n" + "VWXYZ.,0123 ~=*#\n" + + "abcdefg ¢£¤¥¦§©®\n" + "hijklmn «»ºª¹²³\n" + "opqrstu ¯±×÷¡¿µ·\n" + "vwxyz.,¨:;¼½¾¬¶°\n" + + "< ({[-*?\"!'@#$%\n" + "> )}]+/\\=& 789_`\n" + "¢£¤¥¦§©®¬§ 456x|\n" + "«»°ºª¹²³¶.,0123~\n" + + "ÀÁÂÃÄÅÆ ÌÍÎÏÈÉÊË\n" + "àáâãäåæ ìíîïèéêë\n" + "ÓÒÔÕÖØ ÇÐÞÝßÙÚÛÜ\n" + "òóôõöø çðþýÿùúûü"; + +#if ((LCD_WIDTH == 128 && LCD_HEIGHT == 64)) + pm->default_lines = 4; +#else + pm->default_lines = 8; +#endif + pm->max_line_len = 16; + } +#else { p = "ABCDEFG !?\" @#$%+'\n" "HIJKLMN 789 &_()-`\n" @@ -491,7 +522,7 @@ int kbd_input(char* text, int buflen, ucschar_t *kbd) pm->default_lines = 4; pm->max_line_len = 18; } - +#endif pbuf = pm->kbd_buf; while (*p) {