145 Commits

Author SHA1 Message Date
ArenM
11d6924a13 Draw compose key as pressed when compose is enabled
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2022-06-14 00:21:28 +02:00
ArenM
7be30a6a56 Check for surface in display_handle_geometry
Fixes #23

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2022-06-14 00:10:31 +02:00
Maarten van Gompel
94ca075563 reran clang-format 2022-06-13 23:05:14 +02:00
Stacy Harper
88bbdb0c64 Add some math and punctiation symbols from simple grid 2022-06-13 22:47:25 +02:00
Stacy Harper
6ab0361d80 Replace , to - in simple layout 2022-06-13 22:47:13 +02:00
Stacy Harper
c8bd29ecd1 Use a simple transparency value 2022-06-13 22:42:13 +02:00
Stacy Harper
aa258a01dd Reverse nav backspace and whitespace 2022-06-13 22:41:52 +02:00
Brandon Doornbos
e6c7d0ff2a main.c: add a real-time signal for toggling visibility of the keyboard
Previously it was only possible to either show or hide the keyboard.
When you want to control the keyboard with a single button in, i.e.
a window manager, this requires a separate script to keep track of
state. This solves this by only needing one signal to toggle.

Since there are only 2 USR signals, I had to use real-time signals,
which are in the [POSIX
standard](https://standards.ieee.org/standard/1003_1b-1993.html) and
available in the [Linux kernel since
2.2](https://www.man7.org/linux/man-pages/man7/signal.7.html).
2022-06-13 22:18:03 +02:00
Brandon Doornbos
07b9f293c0 Add documentation for using the real-time signal 2022-06-13 22:17:15 +02:00
Maarten van Gompel
1b7f5c4968 Change in maintainership: support both sourcehut and the original github 2022-06-13 22:00:11 +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
ArenM
35ac0d1d72 Include LDFLAGS from the environment
While working on packageing wvkbd for the aur, I got a warning from
namcap (an arch package verification tool) that RELRO wasn't enabled.
From what I can tell, this is because make was ignoring the LDFLAGS set
by makepkg.
2022-06-13 21:57:55 +02:00
Oğuz Ersen
718d2bdff3 update README.md 2022-06-13 21:57:43 +02:00
Oğuz Ersen
fc0da6aa18 add man page 2022-06-13 21:57:10 +02:00
Zach DeCook
c27f876634 main: prevent crash on sigpipe
This is commonly caused by a bad program in the output chain, e.g.

wvkbd -O | false
2022-06-13 21:56:49 +02:00
Robert Manner
f74fe9a182 layout.mobintl.h: fix hungarian ő and Ő characters
Before this, the bigger one was typed for pressing the smaller,
and vica versa.
2022-06-13 21:56:35 +02:00
Robert Manner
de4b4dcd2e layout.mobintl.h: fix same big/little issue for ų 2022-06-13 21:56:23 +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
78d2667818 config: update version number 2022-06-13 21:55:32 +02:00
Zach DeCook
905a0d100a version: Output newline 2022-06-13 21:55:15 +02:00
John Sullivan
aa65896fbf keyboard.c: fix update/draw logic in kbd_unpress_key
thanks @0x4261756D @earboxer for pointing out this issue
v0.7
2022-01-09 21:02:46 -08:00
Zach DeCook
bddf05e0fc key drawing: refactor kbd_draw_key v0.6 2022-01-10 03:08:06 +00:00
Zach DeCook
564eb4536a overlapped key output: highlight letters swiped through 2022-01-10 03:08:06 +00:00
Zach DeCook
2de12a90e4 output: add -O flag to output overlapped keys
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
2022-01-10 03:08:06 +00:00
Sam Bowlby
c541c7dbd6 add Georgian layout 2022-01-08 07:53:34 +00:00
Maarten van Gompel
780a83dba5 Fixed erroneous glyphcodes for turkish dotless i and turkish capital I with dot 2022-01-08 07:48:49 +00:00
Maarten van Gompel
6abc005124 added missing abc/sym key to dialer layer v0.5 2021-12-01 10:01:43 -08:00
John Sullivan
35c5f44e3c change config.def.h to include dialer v0.4 2021-11-16 11:04:21 -08:00
Peter John Hartman
4bf9d53a00 Add a dialer layout
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-11-16 10:23:29 -08:00
Maarten van Gompel
1562c08a06 added missing sym key to nav layer v0.3 2021-11-01 12:47:25 -07:00
Maarten van Gompel
1bbeb8861e added simple navigation layer 2021-11-01 12:47:25 -07:00
Alexander Brzoska
31f209bcd5 fixed emoji layout 2021-11-01 12:42:46 -07:00
John Sullivan
ca6cb14caa
v0.2 v0.2 2021-10-20 14:16:49 -07:00
Maarten van Gompel
7e4f6ac5d1 renamed freeze/unfreeze to more standard hide/show 2021-10-19 23:12:01 -07:00
Maarten van Gompel
0618da1d24 implemented a --hidden paramter to start hidden 2021-10-19 23:12:01 -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
4695a78e25 fixed key label for Shift + KEY_SLASH on latin keymap 2021-10-19 23:12:01 -07:00
Maarten van Gompel
fabdd72c03 added missing o with diaresis 2021-10-19 23:12:01 -07:00
Maarten van Gompel
8a090c0866 added make install 2021-10-19 23:12:01 -07:00
Maarten van Gompel
69616c1494 README update to reflect the latest changes, included screenshots 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
5291f9a071 adding fix in punctuation layer 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
3a241c8d2c Fix normal_height when using argument
This was overrided with rotation cause we dont save it
2021-10-19 23:12:01 -07:00
Stacy Harper
7a512fbca7 Add landscape height value 2021-10-19 23:12:01 -07:00
Stacy Harper
e100aafb05 Add landscape layers 2021-10-19 23:12:01 -07:00
Stacy Harper
450d43ff44 Handle hide and show signals 2021-10-19 23:12:01 -07:00
Stacy Harper
e73316bd7c WIP refacto keyboard.c 2021-10-19 23:12:01 -07:00