abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/KeyModifier.java
AgeCommit message (Collapse)AuthorFilesLines
2023-06-04Explicitly map dead key for ñJules Aguillon1-1/+28
`KeyCharacterMap.getDeadChar` seems to not give the expected result on Android 4.0. This might affect many more dead key combinations that are not fixed by this commit.
2023-03-11New Hindi layout (#313)Luke Videckis1-0/+56
* New Hindi layout * Update default layout for Marathi, Nepali * Consistent naming for Devanagari layouts
2023-02-12Option to switch to the previous input methodJules Aguillon1-0/+10
A new option changes the "change_method" into the new "change_method_prev". It switch to the previously used input method. A long press on "change_method_prev" sends "change_method". A new section is added in the settings and existing options are moved.
2023-02-12Modify keys after a long pressJules Aguillon1-0/+6
2023-02-09Added missing accent that can combine with `horn_accent` (#293)Kazoku1-0/+10
2023-02-09Vietnamese keyboard (#291)Kazoku1-0/+61
Added missing accent (horn, hook, dot below) Added layout Added accent font svg (by modified existing accent)
2023-01-31Add layouts 'he_il_1452_1' and 'he_il_1452_2'Ram Kromberg1-0/+19
2023-01-30Fix placeholder key not replacedJules Aguillon1-11/+11
Since fecc4dd, placeholder keys can't be compared by reference. Add a placeholder kind and defined placeholder values.
2022-11-05Add combinations to 'accent_slash' and show in settingsJules Aguillon1-1/+5
The 'accent_slash' was missing in the extra keys setting. Allow to type more latin letters "with oblique stroke" or "with stroke" that visually have an oblique bar, that were not added to 'accent_bar'.
2022-11-05Add the bar diacritic dead keyJules Aguillon1-0/+28
Allows to type many of the "with stroke" or "with bar" latin letters.
2022-11-01Use '₹' instead of '₨' in HindiJules Aguillon1-0/+1
₨ is Shift+₹.
2022-10-16Fix literal tab keyJules Aguillon1-1/+1
Broken since 31d6a70d.
2022-10-15Add the breve diacriticJules Aguillon1-0/+1
2022-10-04Allow to type İ on the Turkish layoutJules Aguillon1-0/+4
In Turkish, upper case of 'iı' is 'İI' but Java's toUpperCase will return 'II'. To make 'İ' accessible, make it the shift of 'ı'. This has the inconvenient of swapping i and ı on the keyboard.
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-06-06Refactor: Remove KeyValue.nameJules Aguillon1-81/+94
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-05Refactor: Separate Events and Keyevents and use enumsJules Aguillon1-26/+26
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 Aguillon1-11/+5
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 Aguillon1-0/+69
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.
2022-06-05Refactor: Abstract KeyValue fieldsJules Aguillon1-168/+203
The meaning of the public fields of KeyValue was quite complicated and not handled consistently accross the app. Make these fields private and add a more abstract API on top. The meaning of these fields changed recently and it wasn't an easy change. I plan on making more changes in the future.
2022-06-05Add combining 'accent_arrow_right'Jules Aguillon1-1/+15
It's the first modifier that uses combining diacritics. Whether it should be represented as a modifier or a new kind of key can be reconsidered later.
2022-06-05Add the 'accent_slash' modifierJules Aguillon1-0/+18
Might be useful for some math characters.
2022-06-05Stop using flags for modifiersJules Aguillon1-207/+223
There was no free bits left to add new modifiers. Instead of increasing the width of the 'flags' field, refactor the way modifiers are represented and used. Modifers are now represented as independent values and stored in the 'code' field. A flag is added to distinguish between modifiers and keys with a key event. The most notable change is that modifiers can no longer be or-ed into a single value but have to be represented as an array.
2022-04-24Add Double acute diacriticJules Aguillon1-0/+9
Will be used by the Hungarian language.
2022-04-24Add support for LithuanianJules Aguillon1-0/+4
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-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)Raphael1-0/+68
* Add `Arrows` and `Box` accent system
2022-03-31µ, æ and œ also generated by FnArenaL51-7/+4
2022-03-31Add arrowsArenaL51-0/+8
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+SpaceArenaL51-0/+1
2022-03-31Add extra symbols to FnArenaL51-46/+25
Also removed almost all combinations of diacritics and symbols to create extra symbols.
2022-03-19Add F11 and F12Jules Aguillon1-14/+26
These keys are shown only when Fn is activated, "placeholder" keys are placed in the layouts.
2022-03-13Avoid showing some symbols twice in Fn modeJules Aguillon1-3/+6
2022-02-19Add Ord+* = °Jules Aguillon1-0/+1
2022-02-19add-ordinal-numbers-symbol-systemRaphael1-0/+16
2022-01-29Fn+Tab to send the tab characterJules Aguillon1-0/+1
2022-01-20Add keys for LatvianEdgars1-0/+10
New accents - caron and macron - were defined and QWERTY layout was updated to add accents for Latvian specific characters.
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-11Add SwedishJules Aguillon1-0/+5
First add the 'ring' accent. The swedish language uses the qwerty layout and three accents (aigu, trema, ring)
2021-12-05Add the euro and pound symbolsJules Aguillon1-0/+2
Fn+$ and Fn+# respectively.
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 Aguillon1-33/+75
2021-05-01Add '¿' and '¡'Jules Aguillon1-0/+2
2021-04-19Add more characters under accentsJules Aguillon1-9/+53
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-16/+17
2021-04-18Add function keysJules Aguillon1-8/+36
Add the Fn modifier that change the digits into F1 to F10.