abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2
AgeCommit message (Collapse)AuthorFilesLines
2024-12-29Fix crash in LayoutModifierJules Aguillon1-1/+3
2024-12-28Null check on the payload of KeyValueJules Aguillon1-0/+2
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-28Fix status bar artifact on opens and closesJules Aguillon2-3/+4
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-26Refactor: Move code to LayoutModifierJules Aguillon3-220/+221
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-26Remove labels for the anti-clockwise circle gestureJules Aguillon1-24/+4
These labels are often unwanted and easily collide with other labels.
2024-12-26Proper support for Android 15 edge-to-edge (#848)Jules Aguillon4-18/+75
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-24Fix unecessary bottom margin on Android 14Jules Aguillon1-2/+2
2024-12-24Fix keyboard drawing behind nav bar on Android 15Jules Aguillon1-4/+9
Bug added in 038f693.
2024-12-23Fix crash on devices with only unsupported languagesJules Aguillon1-0/+2
This only affected Android 12 and up.
2024-12-19Added tamil layout (#833)Jagadeeshan S3-9/+27
Signed-off-by: Jagadeeshan S <jagadeeshan.s@addverb.com>
2024-12-19Add Modern Hindi and Sanskrit shift layerJules Aguillon1-7/+7
Co-authored-by: npnpatidar <7de6dkm1@duck.com>
2024-12-19compose: Fix parsing of long sequences from json filesJules Aguillon1-184/+190
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-18Fix crash when opening the numpadJules Aguillon1-5/+12
2024-12-15launcher: Circle gesture animationJules Aguillon1-0/+1
2024-12-14launcher: Round-trip gesture animationJules Aguillon1-0/+1
2024-12-11Move numpad script maps to the compose systemJules Aguillon4-188/+45
This removes the Map_char interface, which required a lot of boilerplate to use.
2024-12-08Fix empty text box when editing custom extra keysJules Aguillon3-15/+12
2024-12-08Add :keyevent key syntaxJules Aguillon2-13/+27
Allow to add keyevent keys to the keyboard. For example to add a Play/Pause button: :keyevent symbol='⏯' flags='small':85
2024-12-07Add support for KannadaJules Aguillon1-0/+22
Add language support for Kannada, including a layout and numerals.
2024-12-07Add double grave accent (#779)Zitrone4-216/+221
2024-12-06Persist state of clipboard history checkboxJules Aguillon3-3/+8
2024-12-05Fix typos in cyrillic compose sequencesJules Aguillon1-76/+76
2024-12-05Arabic diacritics (#807)Jules Aguillon3-169/+225
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-11-24layouts format: Add 'c' as a synonym for 'key0'Jules Aguillon1-1/+1
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-18launcher: Animated vector describing swipe gestureJules Aguillon1-29/+32
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-17Disable automatic Shift when pressing ComposeJules Aguillon1-1/+4
2024-11-17Automatic Shift should be disabled when pressing CtrlJules Aguillon1-1/+1
This was caused by a programming error.
2024-11-16compose: Add digits to accent_dot_aboveJules Aguillon1-211/+213
2024-11-16font: Use standard symbols for home and endJules Aguillon1-2/+2
The glyphs are taken from DejaVuSans, the lines are thickened to improve readability.
2024-11-16Don't apply Fn to space bar left and rightJules Aguillon1-11/+0
"home" and "end" on the spacebar slider are not useful.
2024-11-11Add "scroll_lock" key (#800)DocJr902-0/+2
Added "scroll_lock" equates to KeyEvent.KEYCODE_SCROLL_LOCK
2024-10-27Stable extra keys position when number row is addedJules Aguillon1-2/+2
Add the extra keys to the keyboard before the number row is added, as that interferes with the "preferred pos" system.
2024-10-26Rosé Pine Theme (#788)Kalan Walmsley1-0/+1
2024-10-05Update compose sequences for CyrillicJules Aguillon1-159/+167
Mainly add sequences for the combining diacritics. Co-authored-by: Anastazius Kaejatidarjan <zdarian@asu.edu>
2024-10-05Add slavonic combining diacriticsJules Aguillon2-2/+31
Co-authored-by: Anastazius Kaejatidarjan <zdarian@asu.edu>
2024-10-05compose/accent_*.json: improvements (more accents) (#770)Zitrone1-208/+220
compose/accent_*.json: improve/complete implementation compose/shift.json: uppercase for superscript letters & characters without preapplied uppercase versions
2024-10-04Add combining diacritics keysJules Aguillon2-0/+65
Co-authored-by: Anastazius Kaejatidarjan <zdarian@asu.edu>
2024-09-29Add Fn layer and Compose sequences for CyrillicJules Aguillon1-166/+166
2024-09-29Improve Ctrl key labels for Serbian Cyrillic layoutJules Aguillon2-19/+24
Add the ':char' syntax for defining character keys with a different symbol. This new kind of keys is used to implement Ctrl combinations in the Serbian Cyrillic layout without showing latin letters while the Ctrl modifier is activated.
2024-09-29refactoring: safer KeyboardData.loadJules Aguillon1-13/+14
2024-09-29Fix crash with complex keysJules Aguillon1-1/+1
2024-09-29Add complex keys (#774)Jules Aguillon5-22/+286
This allows to add new kinds of keys that need more data without making KeyValue's footprint bigger for common keys. This changes the [_symbol] field into [_payload], which holds the same as the previous field for more common keys but can hold bigger objects for keys of the new "Complex" kind. This also adds a complex key: String keys with a symbol different than the outputted string. Unit tests are added as the Java language is not helpful in making robust code.
2024-09-21Increase default label size (#747)bokidori1-1/+1
Change default label size to 1.15
2024-09-14compose: Deduplicate end statesJules Aguillon1-226/+186
Make compose sequences ending in the same character to share the ending state. This reduce the compiled compose key data size from 33kB to 27kB.
2024-09-10Define the Shift modifier using the compose mechanismJules Aguillon2-63/+9
2024-09-10Define the Fn modifier using the compose mechanismJules Aguillon2-291/+123
This removes 100Kb from the app.
2024-09-10Compose sequences can end in internal key namesJules Aguillon2-104/+104
This adds the '\n' and '\t' sequences to showcase the new feature.
2024-09-10Update autocapitalisation on EnterJules Aguillon1-0/+3
2024-08-18Fix crash when clipboard contains an imageJules Aguillon1-1/+5
2024-07-28Map Fn+Cursor_move to home/end (#728)bokidori1-0/+11
Fn modifier switches cursor_left to home key, cursor_right to end key