diff options
| author | Jules Aguillon | 2022-04-24 00:34:26 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2022-04-24 00:41:49 +0200 |
| commit | fec3f109c970901db31e1354b2cd3fc0015964e8 (patch) | |
| tree | ff22978e363e3646319ec2a0c0178768e3913451 /srcs/juloo.keyboard2/KeyModifier.java | |
| parent | f9f44fbd7d96b4883114b8eb08f660d6912e3df0 (diff) | |
| download | unexpected-keyboard-fec3f109c970901db31e1354b2cd3fc0015964e8.tar.gz unexpected-keyboard-fec3f109c970901db31e1354b2cd3fc0015964e8.zip | |
Add support for Lithuanian
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.
Diffstat (limited to 'srcs/juloo.keyboard2/KeyModifier.java')
| -rw-r--r-- | srcs/juloo.keyboard2/KeyModifier.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/KeyModifier.java b/srcs/juloo.keyboard2/KeyModifier.java index 39fc5a7..73ec84e 100644 --- a/srcs/juloo.keyboard2/KeyModifier.java +++ b/srcs/juloo.keyboard2/KeyModifier.java @@ -76,6 +76,10 @@ class KeyModifier return (char)KeyCharacterMap.getDeadChar('\u02DA', c); case KeyValue.FLAG_ACCENT_MACRON: return (char)KeyCharacterMap.getDeadChar('\u00AF', c); + case KeyValue.FLAG_ACCENT_OGONEK: + return (char)KeyCharacterMap.getDeadChar('\u02DB', c); + case KeyValue.FLAG_ACCENT_DOT_ABOVE: + return (char)KeyCharacterMap.getDeadChar('\u02D9', c); case KeyValue.FLAG_ACCENT_ORDINAL: switch (c) { |
