24 Commits

Author SHA1 Message Date
Maarten van Gompel
ba778478e6 added -R parameter to configure rounding 2024-04-15 20:38:02 +02:00
Amir Dahan
d423720553 Add basic rounding
There's probably a better way of doing this, But this will do for now.

Added basic rounding to buttons.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2024-04-14 18:18:34 +02:00
Frank Oltmanns
d6439afcb9 Make font selection scheme specific
Add the members font and font_descriptor to struct clr_scheme, so that
it is possible to specify a font for each scheme.

During initialization create the font descriptors for each scheme.

Instead of initially setting the font descriptor when setting up the
buffer, set the font descriptor when drawing the text.

Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2023-10-29 13:07:57 +01:00
Frank Oltmanns
6e52be343d Add support for multiple schemes
Allow to use more than two color schemes.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2023-10-13 21:20:18 +02:00
Willow Barraco
dc7ee664f0
No transparency by default
The virtual keyboard can't cover other surface. Only the wallpaper could
eventually go through it, or conky. Let's make a fancy default now that
--alpha exists for users that want the old transparency.
2023-08-31 11:41:20 +02:00
Maarten van Gompel
f402af96fa added dedicated symbols layout for landscape mode 2023-08-31 11:39:17 +02:00
Maarten van Gompel
74695835ad minimal default layers
No need to have all layouts in the layers anymore, all layouts can be
accessed through Cmp + space / Cmp + layout switch button. Users are
encouraged to set `-l` and/or `--landscape-layers` to set their own
preference.
2023-08-31 11:39:17 +02:00
Maarten van Gompel
68ea69944d changed default font to sans instead of mono.
This conserves some space on certain keycaps and has better(/bigger)
icons than the default monospace font on sxmo
2023-08-31 11:39:17 +02:00
Maarten van Gompel
94ca075563 reran clang-format 2022-06-13 23:05:14 +02:00
Stacy Harper
c8bd29ecd1 Use a simple transparency value 2022-06-13 22:42:13 +02:00
Dimitris Kardarakos
0a680c0a7a More symbols and layout improvement 2022-06-13 21:58:26 +02:00
Dimitris Kardarakos
a8ba3c02a9 Modern Greek keyboard added 2022-06-13 21:58:19 +02:00
mzeinali
b77f0582fc Add Persian layout 2022-06-13 21:58:09 +02:00
John Sullivan
849f4600e9 project: rerun clang-format
TODO make a commit or PR hook for this
2022-06-13 21:55:47 +02:00
Zach DeCook
564eb4536a overlapped key output: highlight letters swiped through 2022-01-10 03:08:06 +00:00
Sam Bowlby
c541c7dbd6 add Georgian layout 2022-01-08 07:53:34 +00:00
John Sullivan
35c5f44e3c change config.def.h to include dialer 2021-11-16 11:04:21 -08:00
Maarten van Gompel
1bbeb8861e added simple navigation layer 2021-11-01 12:47:25 -07:00
Maarten van Gompel
bb1eff09be applied clang-format (no functional changes), but exempted custom include order in keyboard.c and main.c 2021-10-19 23:12:01 -07:00
Maarten van Gompel
faaf3f0498 slightly smaller default font 2021-10-19 23:12:01 -07:00
Maarten van Gompel
2dac77392c added stacy's variant of the simple layout (grid) as we can't agree on which is best 2021-10-19 23:12:01 -07:00
Stacy Harper
e100aafb05 Add landscape layers 2021-10-19 23:12:01 -07:00
Stacy Harper
e73316bd7c WIP refacto keyboard.c 2021-10-19 23:12:01 -07:00
Stacy Harper
a38ec393b5 Add missing config.def.h 2021-10-19 23:12:01 -07:00