Clip Plus, Zip, Xduoo X3 Reconfigure keyboard to better use screen

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit ea5b0fb33a8cf84c80844560df9b64e5ff272480
Author: William Wilgus <[email protected]>
Date:   Sun Feb 8 18:41:35 2026 -0500

    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

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)
             {
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.