The user can optionally override the list of keyboard layers compiled
into the executable. Right now this only works for non-landscape mode
though.
Pull out the logic to parse the list of keyboard layers so that we can
reuse it to also optionally override layers in landscape mode.
- shift (or capslock) switch to the previous layer in the defined order
- control, alt or compose resets the view to the first layer
related fix: compose key resets on layer switch (doesn't stick now)
Previously wvkbd would commit an (usually) unchanged surface at the
framerate of the compositor, this only commits the buffer when we render
something new.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
the use-case for this is simple 'swipe'-typing:
another program can take the output, guess the word which is being typed, and type the rest of the word