abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-09-24Fix autocapitalisation randomly not triggeredJules Aguillon2-36/+67
The autocapitalisation is asking the editor about whether to enable shift and must make sure to ask after the editor is done processing the events.
2022-09-24Bone keyboard layout (#155)Quantenzitrone3-0/+48
2022-09-24Add support for PolishJules Aguillon1-1/+2
2022-09-24Add switch_greekmath to the extra keysJules Aguillon3-2/+4
The Fn+switch_numeric shortcut might be hard to discover or too slow for heavy users. A location is allocated for the key so it has a consistent placement.
2022-09-24Add more possible locations for extra keysJules Aguillon1-0/+6
Avoid dropping some keys on crowded layouts.
2022-09-24Add white e-ink oriented theme (#193)Piotrek Marciniak5-10/+17
* Add white e-ing oriented theme Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-09-24Add missing Latvian translations (#203)Edgars1-0/+8
2022-09-24Added Norwegian keyboard layout (#202)ChristianGynnild4-0/+41
2022-09-24Bengali Keyboard Layout (#201)Md Rasel Hossain4-0/+41
* Bangla Layout
2022-09-24Add translations for RussianJules Aguillon1-0/+50
Co-authored-by: @94KONG
2022-09-19Add the Extra Keys optionJules Aguillon8-16/+114
Allows to add more keys to the keyboard from a predefined list. The implementation doesn't use MultiSelectListPreference because it doesn't seem possible to change the item layout to properly show the rendered symbols.
2022-09-03italian translationcastix3-0/+56
2022-09-03Brazilian portuguese translations (#187)igorSilCar1-0/+7
* Translations for new setting, lockable modifier keys Co-authored-by: Igor da Silva de Carvalho <igu@coiso.meanhouse>
2022-07-30Fix crash when auto-capitalisation runs too soonJules Aguillon1-0/+2
This is unexpected but happens once.
2022-07-30Fix auto-capitalisation interfering with caps lockJules Aguillon2-2/+3
Add a flag to recognize fake pointers and avoid clearing the intentionally locked shift key.
2022-07-30Standard auto-capitalisation only after spaceJules Aguillon2-87/+32
Change the capitalisation algorithm to use Android's 'getCursorCapsMode'. This requires a bit of cursor calculations but should feel more standard. The auto completion only triggers after a space is typed or backspace is pressed.
2022-07-24Option "Lockable modifiers" is deprecatedJules Aguillon7-14/+2
Mark that it is planned to be removed, remove corresponding translations.
2022-07-24Hold any modifier to lockJules Aguillon5-28/+58
Modifiers can be locked with a long press. The key repeat mechanism is re-used and the press timeout is the same. Every modifiers can be locked that way, not only the "lockable" ones. The previous behavior can be enabled in the settings (for shift only) but the default is changed.
2022-07-24Add an option to control auto capitalisationJules Aguillon5-1/+9
2022-07-24Avoid automatic capitalisation when using arrowsJules Aguillon2-8/+42
Disable capitalisation just after an arrow kind is pressed to avoid interrupting navigation.
2022-07-24Automatic capitalisation at beginning of sentencesJules Aguillon5-4/+218
Keep track of end-of-sentence characters while typing and automatically enable shift when appropriate. The last few characters just before the cursor need to be queried in some cases: Begin of input, cursor has moved or text is deleted. This might have a performance cost. This normally only enable shift but it also needs to disable shift when the cursor moves.
2022-07-09Add missing ascii characters to the Hungarian layoutsJules Aguillon2-4/+5
Was missing '~' and '$'.
2022-07-09Add '#' to the numeric paneJules Aguillon1-1/+1
On the bottom-left of the '*' key.
2022-07-09Add alternative greek and math symbolsquantenzitrone1-0/+30
2022-07-09added uppercase ẞ of ßQuantenzitrone1-0/+1
2022-07-09Switch to greekmath with Fn+switch_numericJules Aguillon1-0/+10
Add a shortcut to switch to the greekmath pane directly from the main layout.
2022-07-09Add key for switching to the greekmath paneJules Aguillon4-3/+13
The key is placed on the 3rd row of the numeric pane, by taking some space from the shift key.
2022-07-09Add the greekmath panequantenzitrone1-0/+47
The greek and math symbols from the Bone keyboard layout.
2022-07-03Add ukrainian layout (#172)Andrew Cat4-0/+46
2022-07-03Compatibility with API level < 24Jules Aguillon1-1/+1
The Math.floorMod method was added on API level 24.
2022-06-24Release 1.16.1Jules Aguillon2-1/+6
2022-06-24Revert "Remove the vibration settings"Jules Aguillon12-0/+24
Bring back the "Vibration" option. The duration option isn't added back because the vibration settings are still handled by Android. In fact, the option has no effect if the vibration are disabled in the system settings. This partially reverts commit ef03dfed5c802a855c4655204eee39a8769cfed7.
2022-06-24Fix F12 being turned into F11Jules Aguillon1-1/+6
The "f11_placeholder" and "f12_placeholder" keys were equals since 31d6a70. Add an incrementing id into the unused key value to differentiate placeholder values.
2022-06-24Fix localized key not in predefined positionJules Aguillon7-76/+123
The "loc " prefix for predefining a place for an "extra key" was broken since 31d6a70. The FLAG_LOCALIZED flag cannot be used anymore, as adding it to any key would turn it into a different key that wouldn't be recognized by parts of the code comparing the keys (placing the extra keys). Add an other layer in KeyboardData to store such informations.
2022-06-19Move 'ъ' where it belongs and increase the width of the keys (#160)Thunder-Squirrel1-15/+15
2022-06-06Remove the interval between vibrationsJules Aguillon1-12/+3
This is no longer necessary since repeating key no longer cause a vibration.
2022-06-06Release 1.16.0Jules Aguillon2-1/+10
2022-06-06Remove the vibration settingsJules Aguillon12-57/+4
Instead of using the vibrator directly, use performHapticFeedback, which will integrate better with the system settings.
2022-06-06Fix inconsistent text size in landscape modeJules Aguillon3-12/+8
Dimens weren't refreshed when the orientation changed. Dimens are not the right solution anyway, use scaling factors instead.
2022-06-06Increase horizontal spacing in landscape modeJules Aguillon2-3/+10
Space between the keys and margin on the left and right edges of the screen.
2022-06-06New setting: Keyboard height in landscape modeJules Aguillon4-4/+6
The previous fixed value of 55% was too high. The new default value is 50% and it is customizable.
2022-06-06Don't add extra keys to the numeric paneJules Aguillon2-14/+20
2022-06-06Remove the option "Show every accents"Jules Aguillon11-13/+2
This option cannot be implemented easily now that the set of "accents" (localized keys) isn't defined.
2022-06-06Refactor: Remove KeyValue.nameJules Aguillon6-120/+142
This makes KeyValue objects smaller. 'equals' and 'hashCode' are now implemented too. Key names are still used to recognise keys with special meaning, but not for comparing keys anymore.
2022-06-05Fix "REMOVED" key appearing when typing Fn and ShiftJules Aguillon1-0/+2
Since cc571ea
2022-06-05Refactor: Make KeyValue finalJules Aguillon4-7/+18
The class has a complicated internal logic, it is no longer reasonable to extend it.
2022-06-05Refactor: Merge KeyValue._code and _flags fieldsJules Aguillon1-40/+54
With a small number of flags now, it's possible to remove one more field.
2022-06-05Refactor: Separate Events and Keyevents and use enumsJules Aguillon6-202/+212
Negative values for internal events are preventing further refactoring. Add a new kind of key and split internal events (now Event) and Android's key events (now Keyevent). Use enums events and modifiers outside of the KeyValue class. Internally, they are converted to and from integer.
2022-06-05Refactor: Merge KeyValue.char and code fieldsJules Aguillon5-67/+50
These two fields couldn't have an interesting value at the same time. As we can no longer rely on a special value to distinguish between what's the kind, the kind of the key is explicitly encoded in the two most significative bits of the _flags field. Extra nice thing: This removes the special values 'EVENT_NONE' and 'CHAR_NONE'.
2022-06-05Refactor: Associate key events in KeyModifierJules Aguillon3-83/+81
Two advantages: - No need to distinguish modifiers in KeyEventHandler. The KeyValue is enough to decide what action to do. - Keys are never a Char and Event at the same time, fields can be merged.