abouttreesummaryrefslogcommitdiff
path: root/srcs
AgeCommit message (Collapse)AuthorFilesLines
2022-01-29Add support for the Bulgarian language and layoutJules Aguillon1-0/+1
Thanks Zdravko Iskrenov for the contribution.
2022-01-29Fix modifier not working on non-ASCIIJules Aguillon1-1/+2
Characters defined in layouts that aren't defined in KeyValue weren't recognized as character keys. Not working with modifiers.
2022-01-29Add Latvian specific QWERTY layoutEdgars1-0/+1
A customised Latvian specific QWERTY layout (QWERTY (Latvian)) was added to access all Latvian diacritic characters with a swipe. Additionally caron, cedille and macron accents were enabled for this layout.
2022-01-23Globe key: Open keyboard switching dialogJules Aguillon1-1/+3
instead of immediately switching to the next input method.
2022-01-23Make action key labels translatableJules Aguillon1-6/+8
2022-01-22Use symbols for configuration and emoji keysEdgars1-2/+2
`srcs/juloo.keyboard2/KeyValue.java` was updated to replace `Conf` with `⛭` (`\u2699`) and `:)` with `☻` (`\u263B`).
2022-01-20Add keys for LatvianEdgars3-9/+26
New accents - caron and macron - were defined and QWERTY layout was updated to add accents for Latvian specific characters.
2022-01-20Fix crash when switching appJules Aguillon1-0/+10
2022-01-15German keyboard added (#20)Moini2-1/+2
* Add German metadata translation * Add German keyboard Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-01-15Fix miscalculation of the space between the keysJules Aguillon2-8/+10
'keyVerticalInterval' was mistakenly used to compute the height of the keyboard and the vertical position of keys. While the code handling pointers did not use this value, the hit box of the bottom row was shifted by several pixels. Make sure 'keyVerticalInterval' is only used for rendering and not for placing the keys.
2022-01-10Swap the Enter and Action keys when neededJules Aguillon4-2/+42
When IME_FLAG_NO_ENTER_ACTION is set.
2022-01-09Add the Action keyJules Aguillon6-13/+83
It is placed on the top-right of the enter key on every layouts. It sends a special event (performEditorAction) instead of writing a newline. The "actionId" is passed through the EditorInfo object in an obfuscated way so it's not clear whether it's using the right one.
2022-01-09Add the German languageJules Aguillon2-3/+12
Add the 'ß' character on the bottom-left corner of the 's' key, which is hidden for other languages. Co-authored-by: Moini <moini@noreply.invalid>
2022-01-09Allow to hide more keys than just accentsJules Aguillon4-19/+27
Add the "FLAGS_LANGS" set of flags, which will be used to hide individual keys that are not accents.
2022-01-01Change the key combination for °Jules Aguillon1-5/+2
To Fn+* Was previously accent^+*, which was not available for most languages.
2021-12-30Improve the "precision" optionJules Aguillon2-17/+10
Now named "swiping distance". Changed to a dropdown.
2021-12-30Turn the "precision" option to dp instead of pxJules Aguillon1-5/+13
2021-12-30Add the Black themeJules Aguillon1-0/+1
Friendly to Amoled screens. The background of keys is the same as the background of the whole keyboard: pure black. Colors are also slightly stronger.
2021-12-30Move the border radius from Config to ThemeJules Aguillon3-6/+6
Also, draw activated keys with a round border too.
2021-12-30Add themesJules Aguillon3-19/+28
Add a "Theme" option to choose between a dark and light theme. The light theme uses the colors of the dark theme with the luminance inversed. The reloading after a configuration change is changed slightly: - Special handling is needed when the Theme is changed (recreate the views) - The default implementation of 'onConfigurationChanged' is used Which triggers more refresh (but don't recreate the views) - 'onCreateInputView' is no longer needed
2021-12-28Use the themes abstractionJules Aguillon2-10/+11
Themes replace 'colors.xml' and soon will replace 'dimens.xml'.
2021-12-28Reference the "special key font" in the Theme objectJules Aguillon3-11/+15
Remove the last cast of the context.
2021-12-28Separate "handler" codeJules Aguillon6-73/+139
As with the previous commit, remove casts of the context. The "handler" object is referenced in the "config" object for now.
2021-12-28Turn Config into a singleton objectJules Aguillon3-28/+32
The goal is to remove a cast of the 'context' into 'Keyboard2'.
2021-12-26Move Theme code to its own classJules Aguillon2-50/+78
2021-12-22Always send the keycode for the tab keyJules Aguillon1-1/+1
Don't write the tab character and always send the keycode, which is most probably handled by applications.
2021-12-22Use the right keycode for the home keyJules Aguillon1-1/+1
The previous keycode wasn't the classical "home" movement key but Android's actual home key, which has no effect when generated from the keyboard.
2021-12-19Avoid crash when removing a layoutJules Aguillon1-2/+1
Might happen when downgrading the app.
2021-12-19Auto-format Java and XML filesJules Aguillon12-947/+947
Use xmllint. Re-indent Java files using spaces.
2021-12-11Add SwedishJules Aguillon3-1/+9
First add the 'ring' accent. The swedish language uses the qwerty layout and three accents (aigu, trema, ring)
2021-12-11Fix Android's builtin shortcut not workingJules Aguillon1-1/+1
The 'repeat' field of generated key events was incorrectly set to '1'.
2021-12-05Fix swapped page_up/page_downJules Aguillon1-2/+2
2021-12-05Add the euro and pound symbolsJules Aguillon1-0/+2
Fn+$ and Fn+# respectively.
2021-12-05Avoid using getWidth() from onMeasure()Jules Aguillon1-6/+7
2021-05-09Fix recently introduced crashJules Aguillon2-3/+6
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