abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-05-29Automatically place localized keys on the layoutsJules Aguillon4-30/+104
Layouts no longer need to mention every localized keys and dead keys. They are now placed automatically starting from the second row on the bottom-right corner. The "loc " prefix is not removed to still be able to define a more optimal and consistent placement for some extra keys (eg. 'ß' near 's'). Programming layouts no longer need to place every dead keys.
2022-05-11Update readme (#146)Anindra1-2/+3
* add screenshots
2022-05-08Specify localized keys in each layoutsJules Aguillon12-80/+91
Each layouts can chose which key are localized instead of specifying it globally for each key. Important keys are no longer removed from layouts if the 'extra_keys' mechanism is not working properly. This can happen if language tags specified in method.xml don't match the user's language. Removed some currency symbols from some layouts. They are all in the Fn layer.
2022-05-08Find closest key furtherJules Aguillon1-1/+1
The previous limit was checking d-1 and d+1, the new limit also tries d-2 and d+2.
2022-05-08Fix vibration when pointer move slightlyJules Aguillon2-24/+17
Fix the bug introduced in the parent commit.
2022-05-08Better handling of removed keys and swipe getureJules Aguillon3-34/+42
The "closest key" logic must be careful not to reveal keys removed by a modifier. Must check [_handler.onPointerSwipe] for every candidate values. [selected_value] is changed back to [selected_direction]. This adds a new bug: When the direction change, the selected value might not change but a vibration will be triggered anyway.
2022-05-08Improve nearest key computationJules Aguillon2-79/+35
getAtDirection was too hard to maintain and might contain bugs. Change slightly the meaning of directions and implement a the nearest key calculation as a loop.
2022-05-08only vibrate when the swipe key changesRodrigo Batista de Moraes2-31/+40
2022-05-08use the closest swipe key on swipeRodrigo Batista de Moraes2-19/+106
fix a direction
2022-05-07Set the color of the navigation barJules Aguillon3-18/+52
Since SDK 21, applications can set the background color of the navigation bar. This is normally simply an item in a theme but it is more complicated for keyboards.
2022-05-07Add missing LV translations (#136)Edgars1-0/+8
2022-05-01Release 1.15.0 (22)Jules Aguillon2-1/+8
2022-05-01Add support for Hungarian layout (#127)Tibor Billes4-0/+41
2022-05-01Fix latched pointers accumulating on the same keyJules Aguillon1-3/+6
It was possible to latch and lock the same modifier several time at the same time independently. Remove that.
2022-05-01Fix crash when IME not enabledJules Aguillon1-1/+2
This is unexpected but happened to a user. Perhaps because the OS returned bogus or fake results in imm.getEnabledInputMethodList ?
2022-04-30Fix modifiers not cleared when presses overlapJules Aguillon2-7/+26
When typing fast, a second key might be pressed before the first is released. Clearing modifiers earlier would prevent this but would break modifiers placed in corners (especially the accent keys). Instead, don't take latched modifiers into account when registering the second press. A new flag is needed to not interfere with holding modifers, which is merged with the norepeat flag.
2022-04-30Record activated modifiers on key downJules Aguillon2-19/+25
The View no longer keeps flags for something other than rendering.
2022-04-30Strings PT: App partially renamed to improve globalization (#134)marciozomb131-3/+3
2022-04-24Remove build dependency on FontforgeJules Aguillon5-34/+16
The required version of fontforge (from 2020!) is not available in many distros. This is an annoying for contributors and greatly complicated the CI and F-Droid scripts. The generated font file is now included in the sources. Fontforge is still needed when adding new glyphs but this is not a common operation.
2022-04-24Add build instructions to the contributing page (#130)Djuric1-0/+4
2022-04-24Added neo 2 layout (#125)matthiakl3-0/+52
* Added neo 2 layout * Move accents away from screen edge into second row
2022-04-24Add Double acute diacriticJules Aguillon5-3/+28
Will be used by the Hungarian language.
2022-04-24Fix cedilla glyph is invertedJules Aguillon1-4/+6
2022-04-24Add support for LithuanianJules Aguillon8-7/+42
Requires two new diacritics: ogonek and dot_above. The new accents are also added to the Latvian layout as the two language can be close but not to the other localized layouts. A new mechanism is needed to reproducibly add extra keys to layouts without manual placement.
2022-04-24Update contributing guidelinesJules Aguillon1-13/+42
- Improve layout guidelines - Adding a locale - Mention character close to the edges of the screen - Allow partially translating the app title
2022-04-23German translation updateBenjamin1-0/+4
2022-04-16Release 1.14.2 (21)Jules Aguillon2-1/+5
2022-04-16Makefile: Pass -r to adb installJules Aguillon1-1/+1
Fails to update on some versions of Android without it.
2022-04-16Fix compatibility with Android 6Jules Aguillon4-32/+42
Android 6 uses Java 1.7, the only incompatible feature in use was lambdas.
2022-04-16Update PT strings (#121)marciozomb131-6/+10
Tiny fixes and improvements.
2022-04-06Release 1.14.1 (20)Jules Aguillon2-1/+26
2022-04-06Fix mismatch layout nameJules Aguillon2-2/+2
The Korean layout id was not consistent and this caused a crash.
2022-04-06Fix compat with older version of AndroidJules Aguillon1-2/+2
Resources.getFloat is new from API 29.
2022-04-03Release 1.14.0 (19)Jules Aguillon2-1/+22
2022-04-03Revert "Swap Ctrl and switch_numeric keys"Jules Aguillon2-2/+2
This reverts commit b85b67c2f03d1dd1ed96f8352c06e5e23fcbccfe. The Ctrl key was too hard to use in the new position, especially in combination with arrows or backspace. Leave the switching key in the numeric layout however, where the Ctrl key is not very useful. Put Ctrl on the top-right because bottom-right is where the switching key is in the other layouts.
2022-04-03Update screenshotsJules Aguillon7-0/+0
Many things changed since: new keys, better font, sizes and colors changed, keys moved.
2022-04-03Add the Programming Layout optionJules Aguillon8-13/+58
Allow specifying a layout for programming and add a key for switching to it easily. The switching key is placed on the top edge of the space bar. The option has no effect by default because the ergonomic isn't ideal, it needs to be enabled explicitly. Users of Latin-script languages certainly prefer to use one layout (for programming or not). This feature might be removed in favor of a better language-switching mechanisms in the future.
2022-04-03Move keys away from the edges of the screenJules Aguillon12-64/+64
These keys are harder to hit as the finger might exit the screen before traveling enough to hit a corner. It might be particularly harder for people that use a phone case. Every layouts are changed, the notable changes are: - The Escape key is in the bottom-right corner of the first key. This position looks weird at first but is a lot easier to type. - The 0 key is on the top-left of the last key on the first row. It is not like the other digits. - The Tab key is on the top-right. This might be hard to re-learn. - Some layouts had more changes to accomodate these new positions. Co-authored-by: Raphael <rapha.a.r@gmail.com>
2022-04-03Rename the Meta keyJules Aguillon1-1/+1
The symbol isn't clear enough.
2022-04-03Swap Ctrl and switch_numeric keysJules Aguillon3-4/+4
The switch_numeric key is generally more important, especially in the numeric pane.
2022-04-03Swap Fn and AltJules Aguillon1-1/+1
Fn is increasingly more important while Alt is generally not.
2022-04-02Update Space GlyphRaphael2-4/+9
Revert to previous version, the original google material icon, which is not rounded, and it looks better with the rest of the keyboard, also more correct to represent the open box unicode space char, instead of a smile
2022-04-02Add currency symbols under the Fn keyJules Aguillon1-2/+7
Fn+e = € Fn+l = £ Fn+r = ₹ Fn+y = ¥ Fn+c = ¢ Fn+p = ₱
2022-04-02`Arrows` and `Box` system (#114)Raphael5-10/+85
* Add `Arrows` and `Box` accent system
2022-04-02Add Korean layout (#115)nickid4-0/+41
* Add Korean layout
2022-04-02Upgrade CI workflow (#111)Raphael4-12/+46
* Cache dependencies on CI workflow * Use available fontforge version for CI action Avoid a dirty OS upgrade to get a newer version of FontForge, use what is available at Ubuntu 20.04 * Upgrade CI Workflow By using an appimage of FontForge, it's easier to install the latest version, to cache it, and there is no extra dependencies clashes with Ubuntu 20.04 * Make paths for fontforge absolute in makefile It's necessary because fontforge is an AppImage and requires it * Improve cache step on CI wget don't download a duplicate if file already exists * Generate base64 ascii encoded debug keystore That can be used to transfer the keystore to a Github Secret * Restore debug.keystore from github secrets Get the asc encoded keystore from github secrets, and decode it back to a bynary file inside the CI run. * Cleanup redundant lines and add explanation comment * runs-on ubuntu-latest Co-authored-by: Jules Aguillon <jules@j3s.fr> * add *.keystore.asc to .gitignore * Clean up lines, adjust documentation * use CURDIR automatic makefile variable Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-04-02Compute the swipe distance from the physical dpiJules Aguillon1-3/+5
The previous computation was very different depending on the device's screen and accessibility options. Given that the keyboard is supposed to fill all the space in one dimension, the dpi unit makes little sense. The formula doesn't mean anything in particular, it takes into account both dimensions (x and y) and should be close to the dpi in the diagonals (which is the direction of swipe). This changes the actual value, on a 1920x1080 480dpi screen, the value is increased by 20%.
2022-03-31µ, æ and œ also generated by FnArenaL51-7/+4
2022-03-31Add arrowsArenaL52-8/+16
Add simple arrows to the numeric keypad. Using the Fn key with these arrows will output double arrows.
2022-03-31Add non-breaking space as Fn+SpaceArenaL52-0/+2