Hiltjo Posthuma
d19a80dfe5
put estrdup in util and use die() instead of BSD err()
2021-03-28 14:41:32 +02:00
Maarten van Gompel
b80819aa3f
Various indentation fixes for a more consistent style
2021-03-28 14:39:58 +02:00
Maarten van Gompel
02f13a74c3
ternary operator was used in the wrong order
2021-03-28 14:39:51 +02:00
Maarten van Gompel
f2322e9c0e
Added a util function estrdup() to check all memory allocations
2021-03-28 14:39:45 +02:00
Maarten van Gompel
10024fc963
removed debugging flag
...
This patch series is to be applied on top of the 24 I already sent and
addressed the feedback received thus-far.
2021-03-28 14:39:39 +02:00
Maarten van Gompel
2fa04e74fe
fixed double free error
2021-03-28 14:35:01 +02:00
Maarten van Gompel
5fd07406ae
Updated the documentation to describe the new functionality
2021-03-28 14:35:01 +02:00
Maarten van Gompel
444ceabde3
cleanup and reworking some of the logic
2021-03-28 14:35:01 +02:00
Maarten van Gompel
a43bf5c4c1
fix for output key on release
2021-03-28 14:35:01 +02:00
Reed Wade
4ec3b00d6c
Rebuild on layout update
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-28 14:35:01 +02:00
Reed Wade
7a6742e6e4
fix the highlighted key on dragged touch
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-28 14:35:01 +02:00
Reed Wade
b6055b3310
Added mobile-simple layout
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-28 14:35:01 +02:00
tetrakist
8c28fd15f3
Add Xresources support.
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-28 14:35:01 +02:00
Maarten van Gompel
869a4328c9
fixed print output mode
2021-03-28 14:35:01 +02:00
Maarten van Gompel
9b5ebd8447
adapted plain layout and legacy layouts to new structure
2021-03-28 14:35:01 +02:00
Maarten van Gompel
72b936baf6
Allow toggling modifier keys even when an overlay is displayed
2021-03-28 14:35:01 +02:00
Maarten van Gompel
bd3620acf4
fix for earlier overlay width patch (there was a conflict with multirow overlays)
2021-03-28 14:35:01 +02:00
Maarten van Gompel
c2251315e5
Simpler implementation for keeping track overlay keys (solution by stacy)
2021-03-28 14:35:01 +02:00
Maarten van Gompel
174c86d8fa
Implemented key output option to stdout
2021-03-28 14:35:01 +02:00
Maarten van Gompel
d06db9eb4f
Added a second key label for the shift-activated symbols
2021-03-28 14:35:01 +02:00
Reed Wade
6633915997
Usefull if you want to skip somekeys that you want still displayed under the overlay.
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-28 14:35:01 +02:00
Reed Wade
d10af923a3
Extended key definition to allow setting explicit symbol for shift modifier.
...
This allow key definitions as :
{ "?", XK_slash, 1, XK_Shift_L },
Which will press <S-/> wich output `?`
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-28 14:35:01 +02:00
Maarten van Gompel
3be1e21c9f
Implementing a print output mode and ability to not simulate keypresses for X
2021-03-28 14:35:01 +02:00
Maarten van Gompel
e9208cb088
Applied different styling to overlays
2021-03-28 14:35:01 +02:00
Maarten van Gompel
7f59daca5f
bump version to 0.3.0
2021-03-28 14:35:01 +02:00
Maarten van Gompel
6dc8c78b82
Implemented press-on-release and repetition after delay (the latter only for keys without overlay)
2021-03-28 14:35:01 +02:00
Maarten van Gompel
9fd94b637a
Removed grid drwawing and set different slightly theme for abc keys
2021-03-28 14:35:01 +02:00
Maarten van Gompel
6f3308b327
Added an extra row to the mobile-intl layout for numbers/punctuation, reshuffling some keys, added navigation layer and disabled the functions layer
2021-03-28 14:35:01 +02:00
Jochen Sprickerhof
0ea4559388
Force installing executable
...
So we don't fail if it is executed at the same time.
2021-02-25 19:16:09 +01:00
Hiltjo Posthuma
84715dd6c6
bump version to 0.2.2
2020-12-11 18:37:15 +01:00
Maarten van Gompel
1fff13a1b4
fixed a bug that reset the layer to layer one after hiding the overlay
2020-12-11 18:25:53 +01:00
Maarten van Gompel
79ff93369c
fixed russian keyboard layout in mobile-intl, Р key was missing, moved З to an overlay on е because of lack of space
2020-12-11 18:25:44 +01:00
Hiltjo Posthuma
02a2f77fbb
config.mk: set DEFAULT_SOURCE
...
This suppresses warnings about usleep and strdup on Linux glibc and musl.
(Also tested on OpenBSD and FreeBSD, which didn't give such a warning).
Thanks to quinq for reporting it.
2020-09-18 12:59:17 +02:00
Maarten van Gompel
3a51eafd3a
Make install fix: install the actual compiled layout
2020-09-16 23:31:37 +02:00
Hiltjo Posthuma
025a846cea
Makefile: dist: add drw.h and util.h
2020-09-13 22:29:42 +02:00
Hiltjo Posthuma
2ef13088e4
tiny code-style tweak
2020-08-24 19:32:47 +02:00
Hiltjo Posthuma
9620b1d8c2
Makefile: fix dist rule, reported by Job Bautista
...
Patch adjusted, thanks Job.
2020-08-14 12:48:47 +02:00
Hiltjo Posthuma
0bd17df5ed
a few more tweaks
2020-08-05 00:09:41 +02:00
Hiltjo Posthuma
73f0edf709
some code-style consistency changes + small tweaks
2020-08-04 23:52:57 +02:00
Hiltjo Posthuma
4983666e33
svkbd.1: small man page tweaks
...
- Fix some warnings.
- Use Ev macro for environment variables.
2020-08-04 23:14:38 +02:00
Hiltjo Posthuma
9f5404990d
fixup strdup() from the last patch
2020-08-04 23:12:03 +02:00
Maarten van Gompel
3d03b522e0
cleaned up code style, fixed buffer overflow in layers configuration, added a printdbg function.
2020-08-04 23:08:13 +02:00
Maarten van Gompel
8219b6b9d1
Updated the man page
2020-08-04 23:08:12 +02:00
Hiltjo Posthuma
3fe7bcc7a4
Makefile, config.mk: use pkg-config, fix config.h rule + tweaks
2020-08-02 18:23:30 +02:00
Maarten van Gompel
13d20da8ef
Made the old layouts compatible with the new svkbd, re-added the old english layout that was removed, and re-added the initial sxmo layout and renamed the mobile layouts. Documentation updated accordingly. Final cleanup and fixes for the whole patch series.
2020-08-02 18:00:42 +02:00
Maarten van Gompel
eae90f28d9
fixed the select() logic in run() to handle sigterm situations
2020-08-02 18:00:40 +02:00
Maarten van Gompel
12fe4c8923
adding some minor error catching
2020-08-02 18:00:39 +02:00
Maarten van Gompel
4dab556580
Added a dialer/numpad keyboard, added the ability to handle layouts with less keys/different layouts. Extra configurability: select layout on startup, customisable height factor.
2020-08-02 18:00:35 +02:00
Maarten van Gompel
99935775af
added an extra key column (alt now on keyboard by default), added cyrillic keymap, added a toggle to enable/disable overlays, added quick toggle buttons to toggle primary two layers. Added some configurability using command line parameters and environment variables.
2020-08-02 18:00:32 +02:00
Maarten van Gompel
48994f125e
Added overlays (appearing on long press), multiple layer support (rather than just a toggle) with new layers, style changes
2020-08-02 18:00:31 +02:00