Rockbox Development > Feature Ideas

Overhauling Search Function

<< < (2/2)

heyspencerb:
Hmm, this might take more thinking. I'm finding that the majority of the time in the text entry window is spent figuring out where the letter is on the screen, not on actually scrolling to it. I am still finding the new layout to be very helpful but I think the plan of having the layout change with each letter chosen would backfire as you would be spending more time looking for the letter you need, and you wouldn't ever be able to learn the placement of each letter over time as its always changing.

I will keep working on a single layout that works well, and then have that be the chosen layout, and I will probably have the cursor return to the center each time you choose a letter.

Bilgus:
I've added the ability to use custom text layout for the standard text input function

my intention is to use it to limit the characters to only those acceptable for the current consumer

https://gerrit.rockbox.org/r/c/rockbox/+/2572

and an example use..
https://github.com/Rockbox/rockbox/blob/master/apps/plugins/announce_status.c#L291


--- Code: ---#define K_TRACK_TA "TT TA;\n"
#define K_TRACK    "TE TL TR;\n"
#define K_TRACK1   "T1 T2 T3;\n\n"
#define K_PLAYLIST "PC PN PR P1 P2;\n"
#define K_BATTERY  "BP BM B1;\n"
#define K_SLEEP    "RS R2 R3;\n"
#define K_RUNTIME  "RT R1;"
#define KEYBD_LAYOUT  (K_TIME K_DATE K_TRACK_TA K_TRACK K_TRACK1 K_PLAYLIST K_BATTERY K_SLEEP K_RUNTIME)
////
if (!kbd_create_layout(KEYBD_LAYOUT, kbd_p, kbd_bufsz))
    kbd_p = NULL;
rb->kbd_input(gAnnounce.wps_fmt, MAX_ANNOUNCE_WPS, kbd_p);

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version