abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-04-15Update contributing guidelinesJules Aguillon1-10/+26
2023-04-10Release 1.22.1Jules Aguillon2-1/+4
2023-04-10Launcher activity: Fix crash on API < 28Jules Aguillon1-7/+4
2023-04-10Do not lock modifiers if sliding a keydoak1-0/+1
This unconditionally removes all pointers (touches) pressing modifiers which are not already locked, avoiding that the (currently) latched modifier will be locked aventually. This can be verfified while sliding the space bar to move the cursor left or right. Closes #319.
2023-04-02Release 1.22.0Jules Aguillon2-1/+8
2023-04-02Bump targetSdkVersion to 33Jules Aguillon1-1/+1
No change needed.
2023-04-02Launcher activity: Input boxJules Aguillon17-18/+73
For trying the keyboard without having to mess with an other app.
2023-03-28Refactor: Remove unecessary method KeyboardData.load_pin_entryJules Aguillon2-9/+1
2023-03-28Add a launchable explanatory activityJules Aguillon17-0/+80
This activity points to the system settings page for enabling input methods. This is purely a shortcut but is expected by many users. It could be made more useful in the future or hidden whenever the keyboard is enabled.
2023-03-28sync_translations.py: Output sub-elementsJules Aguillon1-15/+12
2023-03-24Updated pl (Polish) translation (#316)Chasm Solacer3-16/+14
2023-03-13Correct pointer directionJules Aguillon1-3/+5
The previous algorithm did not cut the circle into 16 equal parts. The division by 2pi yielded numbers smaller than 16, which no longer made sense after the cast to int.
2023-03-11Add Arabic layout (#314)Mostafa Ayesh5-0/+93
* add arabic keyboard * use unicode values for special characters * add alternate layout * use arabic numbers
2023-03-11New Hindi layout (#313)Luke Videckis6-4/+95
* New Hindi layout * Update default layout for Marathi, Nepali * Consistent naming for Devanagari layouts
2023-03-05Add extra keys for UkrainianJules Aguillon1-1/+1
2023-03-05Add support for BelarusianJules Aguillon2-12/+12
It uses the russian layout with placed extra keys.
2023-03-05Refactor: Remove KeyboardData.CornerJules Aguillon3-104/+77
The Corner class is removed. The "localized" flag for all the corners is held in a bitfield.
2023-03-05Remove the 'edgekeys' attributeJules Aguillon7-42/+9
2023-03-03Allow 8 symbols per keyJules Aguillon5-164/+166
'Keyboard.Key' now contains an array of size 9, giving each keyvalue an index. The algorithm for finding the nearest key during a swipe now needs 16 segments, which are now calculated as an angle. The algorithm does one more interation instead of 2 more, slightly reducing the sensitivity of corner values. The 'getAtDirection' function is moved into the Pointers class to clearly separate the two systems. The 'edgekey' attribute is now obsolete but is kept for compatibility. The flag is removed internally, key index are simply translated. Similarly, the 'slider' attribute now act on keys at index 5 and 6 instead of 2 and 3.
2023-03-02Fix caps lock stopped by auto-capitalisationJules Aguillon2-3/+20
Auto-capitalisation triggers when the backspace key is used. Make sure to not remove a locked shift pointer.
2023-03-02Do not remove numpad keys from the layoutJules Aguillon1-2/+0
This removes keys like '.' and '-' from their usual place, which is pretty annoying. The feature is retained for the number row.
2023-03-02Update LV translationEdgars1-21/+21
2023-02-26Allow key and keyboard opacity to be 0Jules Aguillon1-3/+3
2023-02-26Fix miscalculated keyboard height with number rowJules Aguillon2-3/+3
The 'keysHeight' field needs to be updated. As this class is not intended to be mutable, copy the list of rows and call the constructor. Also remove an unecessary component of the keyboard height calculation.
2023-02-26Update values-de/strings.xml (#295)mscheidemann1-22/+22
Missing German translation completed
2023-02-26Update translationsJules Aguillon12-12/+12
Outdated since 0f62b30
2023-02-26Add theme "Alternative Black" (#297)JackDotJS17-0/+20
* Add alternative black theme
2023-02-12Release 1.21.0 (32)Jules Aguillon2-1/+11
2023-02-12Option to switch to the previous input methodJules Aguillon20-63/+138
A new option changes the "change_method" into the new "change_method_prev". It switch to the previously used input method. A long press on "change_method_prev" sends "change_method". A new section is added in the settings and existing options are moved.
2023-02-12Modify keys after a long pressJules Aguillon2-3/+20
2023-02-09Added missing accent that can combine with `horn_accent` (#293)Kazoku1-0/+10
2023-02-09Vietnamese keyboard (#291)Kazoku12-1/+117
Added missing accent (horn, hook, dot below) Added layout Added accent font svg (by modified existing accent)
2023-02-08Fix arrow keys not repeatingJules Aguillon1-2/+0
The special handling of arrow keys have been removed in 854eff2. Key repeat was not starting when the key0 was empty.
2023-02-08Complete Vietnamese translation (#292)rVnPower3-0/+91
2023-01-31Add theme 'ePaper' (#287)Ram Kromberg16-0/+35
* Add theme 'ePaper'
2023-01-31Add layouts 'he_il_1452_1' and 'he_il_1452_2'Ram Kromberg8-2/+152
2023-01-31Update French translationJules Aguillon1-7/+7
2023-01-30Add optional number rowJules Aguillon17-3/+59
An option is added to enable an extra number row at the top of the keyboard. Digits are removed from the keyboard while the number row is visible.
2023-01-30Remove the digits when numpad is visibleJules Aguillon2-13/+42
2023-01-30Modification step for the special layoutJules Aguillon4-62/+98
Refactor, follow up of 90b7944. Add a modification step to the "special" layouts: numpad, greekmath, pin entry. Remove the apply_key0 function, which is not expressive enough. Add an enum instead of yet an other "switch_" function.
2023-01-30Apply modify_layout to text layout onlyJules Aguillon7-24/+17
Refactor. Allows to remove the 'extra_keys' and 'num_pad' flags and to implement more complicated transformations to the layouts.
2023-01-30Fix placeholder key not replacedJules Aguillon2-22/+30
Since fecc4dd, placeholder keys can't be compared by reference. Add a placeholder kind and defined placeholder values.
2023-01-29Slightly increase the width of the spacebarJules Aguillon1-5/+5
The left and right arrows are less often needed and the key can be shorter.
2023-01-29Remove the explicit hashmap in KeyValueJules Aguillon1-124/+118
Refactoring. Predefined keys are represented by a big switch statement rather than added into a hashmap.
2023-01-29Don't send event at end of slidingJules Aguillon1-0/+13
A sliding pointer going up must not cause a key event to be sent. This caused an extra cursor movement and cleared the latched modifiers.
2023-01-22Move cursor by sliding on the space barJules Aguillon4-10/+79
Send key events for the left or right arrow as the finger slides on the space bar. Can be used to select text by holding shift. Works under Termux. Events are sent linearly as the finger travels. The distance between each events is defined from the swiping distance divided by 4. 'slider="true"' can be set on a key that have 'edgekeys="true"'. 'key2' and 'key3' represent the right and left keys.
2023-01-22Remove the modulated repeatJules Aguillon17-90/+8
It allowed to modulate the repeat speed of some keys (arrow, backspace, delete) by move the finger farther or closer to the key. In practice, this wasn't pratical and doesn't seem popular. It is removed in favor of a better mechanism for moving the cursor.
2023-01-21Update russian strings.xml (#280)Maki Nishikino1-2/+2
2023-01-15Release 1.20.2 (31)Jules Aguillon2-1/+8
2023-01-15Avoid switching back from secondary layout automaticallyJules Aguillon3-27/+64
Stay on the secondary layout after a config refresh or onStartInputView. The information is kept until the keyboard is restarted. Additionally, move tweaking the secondary layout to the Config class now that physical equality is not needed.