|sergiotarxz 7b642eafc5||2 months ago|
|LICENSE||9 months ago|
|Makefile||2 months ago|
|README.md||2 months ago|
|config.def.h||9 months ago|
|config.mk||8 months ago|
|drw.c||9 months ago|
|drw.h||9 months ago|
|layout.arrows.h||9 months ago|
|layout.de.h||9 months ago|
|layout.en.h||9 months ago|
|layout.mobile-intl.h||2 months ago|
|layout.mobile-plain.h||9 months ago|
|layout.ru.h||9 months ago|
|layout.sh.h||9 months ago|
|svkbd.1||9 months ago|
|svkbd.c||5 months ago|
|util.c||9 months ago|
|util.h||9 months ago|
Using dvorak is hard in the Pinephone. :)
This is a simple virtual keyboard, intended to be used in environments, where no keyboard is available.
$ make $ make install
This will create by default
svkbd-intl, which is svkbd using an international
layout with multiple layers and overlays, and optimised for mobile devices.
You can create svkbd for additional layouts by doing:
$ make LAYOUT=$layout
This will take the file
layout.$layout.h and create
make install will then pick up the new file and install it accordingly.
The following layouts are available:
mobile-intl- A small international layout optimised for mobile devices. This layout consists of multiple layers which can be switched on the fly, and overlays that appear on long-press of certain keys, adding input ability for diacritics and other variants, as well as some emoji. The layers are:
mobile-plain- This is a plain layout with only a qwerty layer and numeric/punctuation layer. It was originally made for sxmo.
en- An english layout without layers (QWERTY)
de- A german layout (QWERTZ)
ru- A russian layout (ЙЦУКЕН)
sh- A serbo-croatian layout using latin script (QWERTZ)
This will open svkbd at the bottom of the screen, showing the default international layout.
$ svkbd-mobile-intl -d
This tells svkbd to announce itself being a dock window, which then is managed differently between different window managers. If using dwm and the dock patch, then this will make svkbd being managed by dwm and some space of the screen being reserved for it.
$ svkbd-mobile-intl -g 400x200+1+1
This will start svkbd-intl with a size of 400x200 and at the upper left window corner.
For layouts that consist of multiple layers, you can enable layers on program start through either the
-l flag or
SVKBD_LAYERS environment variable. They both take a comma separated list of layer names (as defined in
layout.*.h). Use the
↺ button in the bottom-left to cycle through all the layers.
Some layouts come with overlays that will show when certain keys are hold pressed for a longer time. For
example, a long press on the
a key will enable an overview showing all kinds of diacritic combinations for
Overlay functionality interferes with the ability to hold a key and have it outputted repeatedly. You can disable
overlay functionality with the
-O flag or by setting the environment variable
SVKBD_ENABLEOVERLAYS=0. There is
also a key on the function layer of the keyboard itself to enable/disable this behaviour on the fly. Its label shows
≅ when the overlay functionality is enabled and
≇ when not.
This virtual keyboard does not actually modify the X keyboard layout, the
en layouts simply rely on a standard US QWERTY layout (setxkbmap us) being activated, the other layouts (
sh) require their respective XKB keymaps to be active.
If you use another XKB layout you will get unpredictable output that does not match the labels on the virtual keycaps!
git clone https://git.suckless.org/svkbd