This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5641 - Custom keyboard - better embed and solves bugs.
Attached to Project:
Rockbox
Opened by Shachar (Lamed) - Monday, 10 July 2006, 03:09 GMT+2
Last edited by Jonas Häggqvist (rasher) - Sunday, 14 December 2008, 21:12 GMT+2
Opened by Shachar (Lamed) - Monday, 10 July 2006, 03:09 GMT+2
Last edited by Jonas Häggqvist (rasher) - Sunday, 14 December 2008, 21:12 GMT+2
|
DetailsThis is my last patch i've been working on at the last week.
The virtual keyboard have had some time ago some new features implemented into, but they were very uncomfortable to use. my patch improves many things. * switching between the default and custom (loaded) keyboard buffer. user: If player has a button to flip pages, it will now first flip pages on the same buffer, and at the last page it will flip to the next buffer. if not, player flips pages on left and right screen edges, and flips keyboard buffers on up/down edges. code: There's a new buffer defined in keyboard.c, static unsigned short custom_kbd_buf[KBD_BUF_SIZE]. the load_kbd function loads the table into that buffer. that way we can switch between the two buffers without reloading an external file every time. * custom keyboard buffer treats on newlines. user: whether you use windows or linux, just write a file in your own native lanugage, with whatever keys you need; you wouldn't get one long line with all the characters that you choose. code: the new custom_kbd_buf is loaded into kbd_buf, (just like the default_kbd keyboard buffer does) so we can act on newlines. * code cleanups code: there where some functions that where run when they shouldn't have run at all, or should have run just once. * fix a global settings bug. code: settings.c and filetree.c treat .kbd extension files in a wrong way, causing the loaded custom keyboard not to be saved in a configuration file, or loaded in a fresh boot or a settings load. it's fixed. |
This task depends upon
Closed by Jonas Häggqvist (rasher)
Sunday, 14 December 2008, 21:12 GMT+2
Reason for closing: Rejected
Additional comments about closing: No work for more than 2 years.
Sunday, 14 December 2008, 21:12 GMT+2
Reason for closing: Rejected
Additional comments about closing: No work for more than 2 years.
This patch is obviously not working since the remote virtual keyboard patch update that iirc, mmmm made. there are now a lot of small problems and glitches to work out in the cvs.