633 Commits
Author SHA1 Message Date
Jules Aguillon d9b5b36c27 Null check on the payload of KeyValue
The code expect that the payload is never null but there are now a lot
of public constructor functions for KeyValue that don't check for this
property.
2024-12-28 23:24:03 +01:00
Jules Aguillon 5b5d8c692e Fix status bar artifact on opens and closes
On API 30 to 34, the status bar changes color when the keyboard appears
and disappears. A ghost of the changed status bar is animated by the
same animation used for the keyboard, which is unexpected.
2024-12-28 23:06:06 +01:00
Jules Aguillon 926b99cbfe Refactor: Move code to LayoutModifier
Layout modifying functions are removed from Config to LayoutModifier as
static classes.
The two classes are (weakly) mutually dependent, the refactoring is
purely for the purpose of making shorter classes.

The only change is that 'modify_numpad' is changed to remove duplicated
code. This has the side effect of making the "double tap for caps lock"
option affect the shift key in the numpad.
2024-12-26 19:59:43 +01:00
Jules Aguillon 52af262e16 Remove labels for the anti-clockwise circle gesture
These labels are often unwanted and easily collide with other labels.
2024-12-26 18:46:12 +01:00
Jules Aguillon 370f921bc3 Proper support for Android 15 edge-to-edge (#848)
The keyboard background now extends under the system bars and display
cutout on Android 15 but the keys do not.

The back and IME switching buttons that appear in the navigation bar require
special care to not overlap with the keyboard.

The launcher and settings activity are also fixed.
2024-12-26 18:29:19 +01:00
Jules Aguillon 3162a5abe6 Fix unecessary bottom margin on Android 14 2024-12-24 14:16:30 +01:00
Jules Aguillon c13e7608fa Fix keyboard drawing behind nav bar on Android 15
Bug added in 038f693.
2024-12-24 01:10:41 +01:00
Jules Aguillon 2e9f69d58c Fix crash on devices with only unsupported languages
This only affected Android 12 and up.
2024-12-23 11:04:39 +01:00
tenextractor e09abdd330 Estonian layout (#826) 2024-12-21 11:42:04 +01:00
npnpatidar 3da696276e Hindi Phonetic Keyboard Layout addition (#837) 2024-12-19 23:33:28 +01:00
Jagadeeshan S ae50ff2a5c Added tamil layout (#833)
Signed-off-by: Jagadeeshan S <jagadeeshan.s@addverb.com>
2024-12-19 01:05:36 +01:00
Jules Aguillon 82e472ba46 Compose: Allow to force string final states
Appending the ':' character to a sequence result forces it to be a
string final state. This will cause a KeyValue lookup that would
normally not happen for single-character results.
This is useful to make Tamil letters smaller, even when they are the
result of a Shift.
2024-12-19 00:59:27 +01:00
Jules Aguillonandnpnpatidar bd2170e04b Add Modern Hindi and Sanskrit shift layer
Co-authored-by: npnpatidar <7de6dkm1@duck.com>
2024-12-19 00:52:22 +01:00
cuhsy a1dd0b8f2b Added Greek accent symbol button (#830)
Added Greek accent symbol button; a necessary key that should always be on the keyboard, as every word over 2 syllables contains one
2024-12-19 00:43:39 +01:00
Jules Aguillon 4a429357ef compose: Fix parsing of long sequences from json files
Sequences longer than two characters were not read correctly from json
files, creating conflicts and causing dropped sequences.

The detection of collision in sequences is also improved. Two colliding
sequences are removed.
2024-12-19 00:34:24 +01:00
Jules Aguillon 83c6e5d2ad Fix crash when opening the numpad 2024-12-18 22:55:12 +01:00
Jules Aguillonandgoyalyashpal d73b9d638e Add the WORKMAN (US) layout
Co-authored-by: goyalyashpal <yashpalgoyal1304@gmail.com>
2024-12-17 00:39:34 +01:00
Jules Aguillon 908bb93f82 launcher: Circle gesture animation 2024-12-15 11:56:56 +01:00
Jules Aguillon c59af9cf89 launcher: Round-trip gesture animation 2024-12-14 12:21:41 +01:00
tenextractor 855b5359be Welsh layout (#816) 2024-12-14 11:58:00 +01:00
Jules Aguillon e4a49d5256 Move numpad script maps to the compose system
This removes the Map_char interface, which required a lot of boilerplate
to use.
2024-12-11 11:24:50 +01:00
Jules Aguillon 7c85870352 Fix empty text box when editing custom extra keys 2024-12-08 11:43:40 +01:00
Jules Aguillon 2060e6ab07 Add :keyevent key syntax
Allow to add keyevent keys to the keyboard. For example to add a
Play/Pause button:

    :keyevent symbol='⏯' flags='small':85
2024-12-08 11:41:50 +01:00
Jules Aguillon baa16d742b Add support for Kannada
Add language support for Kannada, including a layout and numerals.
2024-12-07 22:29:15 +01:00
tenextractor ba02a3e305 Kazakh Cyrillic and Latin layouts (#819) 2024-12-07 22:12:27 +01:00
tenextractor 5e312bfe58 Hawaiian layout (#817) 2024-12-07 13:49:52 +01:00
tenextractor dacd9ca6df Irish layout (#818) 2024-12-07 13:20:41 +01:00
Zitrone 4eb1f8bd9e Add double grave accent (#779) 2024-12-07 13:16:43 +01:00
Jules Aguillon dc922b0258 Persist state of clipboard history checkbox 2024-12-06 00:10:05 +01:00
Jules Aguillon 30fb50d912 Fix typos in cyrillic compose sequences 2024-12-05 22:47:19 +01:00
tenextractor b872c53798 Czech diacritic QWERTZ layout (#814) 2024-12-05 21:58:41 +01:00
tenextractor 905a78a541 Albanian QWERTZ layout (#813) 2024-12-05 21:55:12 +01:00
Kxeo 9ac823be2d Add Georgian layouts (#809) 2024-12-05 00:35:20 +01:00
Jules AguillonandAnastázius Kaejatídarján de6ee1858b Arabic diacritics (#807)
Add arabic combining diacritics and make them accessible via Fn and Compose combos.

Co-authored-by: Anastázius Kaejatídarján <32847759+anaskaejdar@users.noreply.github.com>
2024-12-05 00:00:51 +01:00
PtitGNU bd49ff5432 Add Belgian layout (#780) 2024-12-04 23:58:31 +01:00
Anastázius Kaejatídarján 6ea5901775 New and Improved Kurdish layouts (#773)
* improved symmetry and incorrect chars
* new persian-based keyboard for kurdish
2024-11-24 11:06:06 +01:00
Jules Aguillon 6b1551d103 layouts format: Add 'c' as a synonym for 'key0'
The attribute 'c' specifies the symbol in the center of a key, just like
'key0'. This adds consistency with the cardinal direction attributes and
is intended to make layouts more readable.
2024-11-24 10:56:19 +01:00
Jules Aguillon ed36098439 Use cardinal directions in the QWERTY (US) layout
Ease reading and modifying the QWERTY (US) layout, which is used as the
default source for the custom layout option.
2024-11-24 10:45:41 +01:00
Jules Aguillon 997b7be4c0 launcher: Animated vector describing swipe gesture
Replace the short video with an animated vector image that shows the
swipe gesture.

This is much lighter and reliable than the mp4 video, which failed to
play on many devices.

Source for the image of the key is in inkscape SVG format in srcs/res
and is converted to an android drawable when needed. The swipe animation
is hand-written.
2024-11-18 00:13:08 +01:00
Jules Aguillon 23097921cf Disable automatic Shift when pressing Compose 2024-11-17 11:10:21 +01:00
Jules Aguillon 237c4e2cc2 Automatic Shift should be disabled when pressing Ctrl
This was caused by a programming error.
2024-11-17 11:09:24 +01:00
Jules Aguillon 354c0a6f1c compose: Add digits to accent_dot_above 2024-11-16 12:23:25 +01:00
Jules Aguillon 46408572bc font: Use standard symbols for home and end
The glyphs are taken from DejaVuSans, the lines are thickened to improve
readability.
2024-11-16 12:08:36 +01:00
Jules Aguillon 0d51f7ea1e Don't apply Fn to space bar left and right
"home" and "end" on the spacebar slider are not useful.
2024-11-16 11:46:43 +01:00
DocJr90 fcbaa23ccf Add "scroll_lock" key (#800)
Added "scroll_lock" equates to KeyEvent.KEYCODE_SCROLL_LOCK
2024-11-11 16:28:59 +01:00
Jules Aguillon 3c30e8248e Stable extra keys position when number row is added
Add the extra keys to the keyboard before the number row is added, as
that interferes with the "preferred pos" system.
2024-10-27 11:04:05 +01:00
Kalan Walmsley 73742a853f Rosé Pine Theme (#788) 2024-10-26 00:54:25 +02:00
Anastázius Kaejatídarján 2233250e4d Slavonictajiki (#776)
new layouts for old slavonic and tajik languages
2024-10-05 23:58:42 +02:00
Jules AguillonandAnastazius Kaejatidarjan c4a88e4d5b Update compose sequences for Cyrillic
Mainly add sequences for the combining diacritics.

Co-authored-by: Anastazius Kaejatidarjan <zdarian@asu.edu>
2024-10-05 11:39:11 +02:00
Jules AguillonandAnastazius Kaejatidarjan cd2932bde1 Add slavonic combining diacritics
Co-authored-by: Anastazius Kaejatidarjan <zdarian@asu.edu>
2024-10-05 11:28:14 +02:00