rockbox/apps/plugins/frotz
William Wilgus cb94b3ae2e keyboard add ability to specify temporary custom layouts
rb core allows you to load custom keyboard layouts

this patch adds the ability to load a keyboard layout in a buffer
the custom layout is temporary and does not overwrite the current layout

use like so:

    unsigned short kbd[64];
    unsigned short *kbd_p = kbd;
    if (!kbd_create_layout("ABCD1234\n", kbd, sizeof(kbd)))
        kbd_p = NULL;

    rb->kbd_input(buf,sizeof(buf), kbd_p);

Change-Id: I7be2bd4a1b4797a147fa70228a9749dc56ac052a
2020-07-22 06:48:28 -04:00
..
buffer.c
dumb_frotz.h
dumb_init.c
dumb_output.c
err.c
fastmem.c Fix further 'variable set but not used' warnings reported from GCC 4.6.0. 2011-05-01 13:48:28 +00:00
files.c Make open() posix compliant api-wise. A few calls (those with O_CREAT) need the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. 2010-05-06 17:35:13 +00:00
frotz.c keyboard add ability to specify temporary custom layouts 2020-07-22 06:48:28 -04:00
frotz.h Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android. 2010-08-12 13:38:25 +00:00
frotz.make
frotzplugin.h Make the sim buildable with mingw again 2010-05-14 22:57:52 +00:00
hotkey.c
input.c
main.c
math.c
object.c
process.c
quetzal.c
random.c
redirect.c
screen.c
setup.h
sound.c
SOURCES
STATUS
stream.c
table.c
text.c
variable.c