mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
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
This commit is contained in:
parent
06c9d87f53
commit
ea5b0fb33a
1 changed files with 32 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue