abouttreesummaryrefslogcommitdiff
path: root/srcs
AgeCommit message (Collapse)AuthorFilesLines
2021-05-09Fix NullPointerException when ready options from subtypesJules Aguillon1-4/+8
Seems like subtypes might not match what is declared. Must protect against that.
2021-05-09Restore support for Android < 12, set minimal version to 4Jules Aguillon1-3/+24
API level 12 is required for "subtype" code introduced in 1.7. This adds a fallback for older version, "subtype" features are not available but the keyboard is usable. Changet he minimal version to 4 to be able to query the API level. Using integer constant for versions because that's how it's presented in the documentation. Build.VERSION_CODES is WTF.
2021-05-09Add the accents preferenceJules Aguillon3-18/+76
This replaces the "disable accent keys" checkbox. The default should work for anyone: Accents will be hidden unless the user has the french language installed. The value "show every accents" is useful for versions of android that don't have subtypes.
2021-05-08Move the "Ins" key under FnJules Aguillon1-0/+1
2021-05-08Add french quotes, en- and em-dashJules Aguillon1-0/+7
Add more keys under Fn. French quotes are S-<, S->, Fn-" and Fn-S-".
2021-05-08Move inverted punctuation to the tilde modifierJules Aguillon1-3/+6
2021-05-08Improve the numeric keyboardJules Aguillon2-35/+93
2021-05-07Add a dashed circle symbol on accentsJules Aguillon1-6/+6
To help recognize them.
2021-05-07Fix layout not updating after rotationJules Aguillon1-0/+1
Reset the layout on onStartInputView.
2021-05-01Add '¿' and '¡'Jules Aguillon1-0/+2
2021-05-01Better placement of accents on QWERTYJules Aguillon1-6/+6
Also change internal names for accents.
2021-05-01Fix rendering of the first labelJules Aguillon1-7/+8
Caused by a shared Paint not correctly resetted.
2021-05-01Reset keyboard when finishingJules Aguillon1-0/+7
This may cause key repeat continuing for a bit after the keyboard closes.
2021-04-29Highlight activated keysJules Aguillon1-10/+37
2021-04-29Slightly reduce the size of the bottom rowJules Aguillon2-51/+57
2021-04-29Improve the azerty layoutJules Aguillon1-1/+1
- More intuitive placement of (), [], {} and <>. - Move accent keys into the top-left corner, on a key they may be used with. - Some minor changes.
2021-04-29Fix modifiersJules Aguillon1-42/+60
Fixes: - Toggling off a modifier was not possible in the corners (eg. accents). - Modifiers on the same key can't be activated at the same time. - Characters on the same key as a modifier weren't working properly.
2021-04-29Add the "layout" option againJules Aguillon3-26/+40
Some versions of android don't allow to configure several languages.
2021-04-25Tweak dimensionsJules Aguillon2-10/+12
Increase a bit labels size and reduce empty space between keys.
2021-04-24Scale down larger symbolsJules Aguillon1-7/+17
2021-04-24Add the label size optionJules Aguillon2-1/+4
2021-04-24Allow different sizesJules Aguillon2-43/+43
Improve Paint code.
2021-04-24SlideBarPreference: Reduce the number of stepJules Aguillon1-4/+4
To have cleaner values.
2021-04-21Add some missing keycodesJules Aguillon1-3/+18
Allows to sent ctrl and alt combinations. Notably the ] character.
2021-04-20Disable vibration when holding keysJules Aguillon1-4/+0
2021-04-20Add a setting for precise repeatJules Aguillon2-1/+4
2021-04-20Add precise repeat on some keysJules Aguillon2-31/+50
Repeat speed increase as the pointer is away from the initial position. On arrows, backspace and delete.
2021-04-19Add more characters under accentsJules Aguillon2-12/+56
Notably subscript and superscript digits and some quote characters.
2021-04-19Move some keys under the Fn modifier and move it on the bottom rowJules Aguillon2-29/+50
2021-04-18Add function keysJules Aguillon2-9/+39
Add the Fn modifier that change the digits into F1 to F10.
2021-04-18Fix crash when no current input bindingJules Aguillon1-3/+8
Broken recently. Restore previous code
2021-04-18Separate handling of modifiers from KeyValue classJules Aguillon8-138/+155
KeyValue defines an ADT and some of its values, it now contains public final fields and no internal logic. KeyModifier handles modifiers and accents and creates new instances of KeyValue when needed. This operation is now properly cached.
2021-04-18Cleanup key definitionsJules Aguillon1-88/+106
Remove repeated code and remove side-effects from the constructor.
2021-04-18Render the emoji key as ":)"Jules Aguillon1-1/+1
In order to remove the colors in the rendering.
2021-04-18Hide the input switching key if it's not neededJules Aguillon4-5/+23
Android has a new way of switching between input methods and this key need to be hidden in most cases.
2021-04-17Remove fixed keyboard widthJules Aguillon2-37/+28
Remove the constant of keys per rows. Add the 'shift' attribute to declare eventual alignment/blanks in layouts.
2021-04-15Use subtypes to choose layoutJules Aguillon1-23/+54
This removes the "layout" setting. Every layouts that the user could use will appear in the global settings.
2021-04-15Stateless KeyboardData classJules Aguillon3-86/+117
It was a pain to use. It was also a pain to write this though.
2021-04-13Add an option to toggle accent keysJules Aguillon3-1/+27
These keys are not useful at all in English. A new option allows to hide them, [false] by default.
2021-04-13Fix layout pref under debug buildsJules Aguillon1-8/+18
Remove the use of [getIdentifier] because it requires the current package name to be passed, which can't be found reliably since the change in build system.
2021-01-17Update the list of emojisJules Aguillon4-957/+83
Take the list from https://unicode.org/Public/emoji/13.1/emoji-test.txt Also change the list of groups, from the same source.
2021-01-05Remove the preview popupJules Aguillon3-136/+0
This was a half-finished feature: - Dangerous when typing passwords - Caused crash on some devices - Ugly (on its own but also blinking when sliding and not fixed in size)
2016-12-11switchToNextInputMethod keyjuloo2-0/+10
2015-10-29Move configs to Config objectjaguillo4-102/+155
2015-10-28preview_enabled settingsjaguillo1-2/+5
2015-10-28Improve preview popupjaguillo2-22/+84
2015-10-28A bit of stylejaguillo1-0/+2
2015-10-28Show preview popupjaguillo1-3/+23
2015-10-28Fix some bugs + Try to show a preview popupjaguillo4-27/+87
2015-10-27Improve init of emoji panejaguillo1-24/+40