Fix color scheme editing on smiley with Xresources

Fixes a small oversight that was preventing the colors of the smiley on q from changing with Xresources.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
create layout-dependent object files

When you build svkbd with different layouts, you get one binary per
layout but all binaries are identical:

    $ make LAYOUT=mobile-plain
    $ make LAYOUT=mobile-simple
    $ diff -s svkbd-mobile-plain svkbd-mobile-simple
    Files svkbd-mobile-plain and svkbd-mobile-simple are identical

The problem is that svkbd.o from the first build is being reused in the
second build.

This commit changes the Makefile to create layout-dependent object files
like svkbd-mobile-plain.o and svkbd-mobile-simple.o (instead of a shared
Add a Serbian layout: layout.sr.h
6ffe71a5 — Hiltjo Posthuma 1 year, 4 months ago
bump version to 0.4
d9dcf0d1 — Hiltjo Posthuma 1 year, 4 months ago
config.mk: fix version printing for -v
minor update for emoji overlay on Q: simpler glyph

I picked a simpler glyph because the other might be more likely to not be
present in a font.
6a143193 — Hiltjo Posthuma 1 year, 4 months ago
change comment-style in .c file
made the Q key double as a trigger for the emoji overlay in the default mobile-intl layout

This makes the emoji overlay accessible without sacrificing an extra key.
There are (afaik) no languages with diacritics on the Q anyway and it's
the first letter key.

A small emoji will show as 2nd label on the keycap as a hint, the caveat
being that the hint applies to a long press rather than a shift-press as
with most 2nd labels, but better than no hint at all.
code cleanup in overlay definitions (removed empty lines comments)
moved backspace key down in dialer layer (mobile-intl and simple layout), for more consistency with other layers
minor documentation update
protection against segfault if overlay has more keys than the keyboard itself
exclude certain modifier keys and basic keys from being overlayed

This ensures that modifiers like shift/ctrl can be correctly used with the overlay.
added missing e caron to overlay in international and simple layouts (e.g. for czech)
4c918263 — Hiltjo Posthuma 1 year, 5 months ago
no need to initialize these variables here
2a2acdac — Hiltjo Posthuma 1 year, 5 months ago
small code-style changes
81c96cec — Hiltjo Posthuma 1 year, 5 months ago
check key for NULL dereference, just in case

This matches the check pattern in other parts of the code.
fd013225 — Hiltjo Posthuma 1 year, 5 months ago
adjust other layouts for the second label change

From the commit:

	commit d06db9eb4fb8f1de5f5d144f5b8fb3bbf4cce84c
	Author: Maarten van Gompel <proycon@anaproy.nl>
	Date:   Sat Mar 6 16:30:44 2021 +0100

	    Added a second key label for the shift-activated symbols
Fix broken key definitions in layout.en.h

There were two problems with this file.

First, there were commas missing from the definitions for XK_7, XK_0,
XK_minus, and XK_plus. This prevented svkbd from even compiling.

Secondly, XK_Return was misdefined. This resulted in an immediate
segmentation fault upon loading the program.
34e5659d — Hiltjo Posthuma 1 year, 5 months ago
remove unused variable