abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/KeyValue.java
AgeCommit message (Collapse)AuthorFilesLines
2022-05-08Specify localized keys in each layoutsJules Aguillon1-15/+26
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-04-30Fix modifiers not cleared when presses overlapJules Aguillon1-3/+4
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-24Add Double acute diacriticJules Aguillon1-1/+4
Will be used by the Hungarian language.
2022-04-24Add support for LithuanianJules Aguillon1-1/+5
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-03Add the Programming Layout optionJules Aguillon1-2/+4
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-03Rename the Meta keyJules Aguillon1-1/+1
The symbol isn't clear enough.
2022-04-03Swap Ctrl and switch_numeric keysJules Aguillon1-2/+2
The switch_numeric key is generally more important, especially in the numeric pane.
2022-04-02Update Space GlyphRaphael1-1/+1
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-02`Arrows` and `Box` system (#114)Raphael1-1/+6
* Add `Arrows` and `Box` accent system
2022-03-31Add non-breaking space as Fn+SpaceArenaL51-0/+1
2022-03-25Add glyphs for Tab, Backspace and DeleteJules Aguillon1-3/+3
Tab is from IcoMoon. Backspace and Delete are from materialdesignicons.
2022-03-19Add F11 and F12Jules Aguillon1-0/+2
These keys are shown only when Fn is activated, "placeholder" keys are placed in the layouts.
2022-03-18Add glyphs for accent keysJules Aguillon1-9/+9
The "dotted circle" character combined with the accent was badly rendered on many devices.
2022-03-18Build all special glyphs from SVGJules Aguillon1-10/+10
Recover the provenance of each glyphs and remove the base_font.ttf file.
2022-03-17Stateless build of the special font fileJules Aguillon1-4/+4
Keep the glyphs in SVG format and build the font using a FontForge script. A part of the previous font is kept because the sources is lost. This adds a new dependency to the build system, fontforge.
2022-03-13Improve symbols for Sup, Sub and OrdJules Aguillon1-3/+3
2022-03-13Define localized keys as a set instead of flagsJules Aguillon1-25/+14
Using flags for removing keys like € and ß need too many flags and won't scale to more localized keys.
2022-03-06Make the font smaller for the action keyJules Aguillon1-1/+6
2022-03-05Clicking twice on CTRL or ALT will lock them in 'ON' state (#72)Raphael1-1/+6
* Clicking twice on CTRL or ALT will lock them in 'ON' state * Make Locking behaviour optional, configurable in preferences * Nest the new settings into a different page To avoid spamming the settings page and repetition in the summaries. Cannot be a popup unfortunately because that would require API >= 11. * Add Fn and Meta Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-03-05Improve the code for dynamic updates of the layoutJules Aguillon1-1/+0
2022-02-27Reduce the text size for some keysJules Aguillon1-13/+17
The symbols are now smaller for Shift, Space, Backspace, Delete and some keys on the bottom row. The previous rule was to make the text smaller for symbols made of several characters. This is changed to a flag approach.
2022-02-26Update symbols from unicode to font-IconRaphael1-7/+6
2022-02-21Improve modulated key repeatJules Aguillon1-2/+2
Change the formula: don't use an external constant, add a state. It's now the ratio between where the finger is at the first repeat and where it is now. Keep the repeat going when swiping into an other key. Currently only for arrows: It's now possible to go from an arrow to an other without waiting again for the key repeat timeout. The backspace and delete keys don't work well with this.
2022-02-20Move pointer handling code to its own classJules Aguillon1-2/+2
Separate the concerns and have a clearer interface between the two parts of the code.
2022-02-19Localize € and £Jules Aguillon1-5/+6
Show these characters only for users that have the corresponding locale installed (a supported eu language for €, en-GB for £). Add these characters to most layouts.
2022-02-19add-ordinal-numbers-symbol-systemRaphael1-2/+5
2022-02-13Use the improved font for shift, globe, enter and spaceJules Aguillon1-5/+11
These glyph were available in the custom font but not used yet.
2022-02-06Replace unusual return symbolMax Schillinger1-1/+1
2022-02-06Add the Meta keyJules Aguillon1-0/+2
Currently using the diamond symbol like the history meta key: https://en.wikipedia.org/wiki/Meta_key However, this key is actually interpreted as the Super/Windows key but Android calls it "meta" internally.
2022-01-29Fn+Tab to send the tab characterJules Aguillon1-0/+1
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-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 LatvianEdgars1-3/+8
New accents - caron and macron - were defined and QWERTY layout was updated to add accents for Latvian specific characters.
2022-01-09Add the Action keyJules Aguillon1-0/+2
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 Aguillon1-3/+11
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 Aguillon1-0/+9
Add the "FLAGS_LANGS" set of flags, which will be used to hide individual keys that are not accents.
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-19Auto-format Java and XML filesJules Aguillon1-11/+11
Use xmllint. Re-indent Java files using spaces.
2021-12-11Add SwedishJules Aguillon1-1/+3
First add the 'ring' accent. The swedish language uses the qwerty layout and three accents (aigu, trema, ring)
2021-12-05Fix swapped page_up/page_downJules Aguillon1-2/+2
2021-05-08Improve the numeric keyboardJules Aguillon1-2/+18
2021-05-07Add a dashed circle symbol on accentsJules Aguillon1-6/+6
To help recognize them.
2021-05-01Better placement of accents on QWERTYJules Aguillon1-6/+6
Also change internal names for accents.
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-21Add some missing keycodesJules Aguillon1-3/+18
Allows to sent ctrl and alt combinations. Notably the ] character.
2021-04-20Add precise repeat on some keysJules Aguillon1-26/+32
Repeat speed increase as the pointer is away from the initial position. On arrows, backspace and delete.
2021-04-19Add more characters under accentsJules Aguillon1-3/+3
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 Aguillon1-13/+33
2021-04-18Add function keysJules Aguillon1-1/+3
Add the Fn modifier that change the digits into F1 to F10.