Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/keybr-keyboard-io/lib/parser/diacritics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const forwardMap = new Map([
[/* CEDILLA */ 0x00b8, /* COMBINING CEDILLA */ 0x0327],
[/* OGONEK */ 0x02db, /* COMBINING OGONEK */ 0x0328],
[/* GREEK TONOS */ 0x0384, /* COMBINING ACUTE ACCENT */ 0x0301],
[/* GREEK DIALYTIKA TONOS */ 0x0385, /* COMBINING GREEK DIALYTIKA TONOS */ 0x0344],
]);

const reverseMap = new Map([...forwardMap].map(([key, value]) => [value, key]));
Expand Down
2 changes: 1 addition & 1 deletion packages/keybr-keyboard/lib/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Language implements EnumItem {
/* id= */ "el",
/* script= */ "greek",
/* direction= */ "ltr",
/* alphabet= */ "αάβγδεέζηήθιίκλμνξοόπρσςτυύφχψωώ",
/* alphabet= */ "αάβγδεέζηήθιίϊΐκλμνξοόπρσςτυύϋΰφχψωώ",
);
static readonly EN = new Language(
/* id= */ "en",
Expand Down
4 changes: 2 additions & 2 deletions packages/keybr-keyboard/lib/layout/el_gr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const LAYOUT_EL_GR: CharacterDict = {
Minus: [/* HYPHEN-MINUS */ 0x002d, /* LOW LINE */ 0x005f, /* PLUS-MINUS SIGN */ 0x00b1],
Equal: [/* EQUALS SIGN */ 0x003d, /* PLUS SIGN */ 0x002b, /* VULGAR FRACTION ONE HALF */ 0x00bd],
KeyQ: [/* SEMICOLON */ 0x003b, /* COLON */ 0x003a],
KeyW: [/* GREEK SMALL LETTER FINAL SIGMA */ 0x03c2],
KeyW: [/* GREEK SMALL LETTER FINAL SIGMA */ 0x03c2, { dead: /* COMBINING GREEK DIALYTIKA TONOS */ 0x0344 }],
KeyE: [/* GREEK SMALL LETTER EPSILON */ 0x03b5, /* GREEK CAPITAL LETTER EPSILON */ 0x0395, /* EURO SIGN */ 0x20ac],
KeyR: [/* GREEK SMALL LETTER RHO */ 0x03c1, /* GREEK CAPITAL LETTER RHO */ 0x03a1, /* REGISTERED SIGN */ 0x00ae],
KeyT: [/* GREEK SMALL LETTER TAU */ 0x03c4, /* GREEK CAPITAL LETTER TAU */ 0x03a4],
Expand All @@ -39,7 +39,7 @@ export const LAYOUT_EL_GR: CharacterDict = {
KeyJ: [/* GREEK SMALL LETTER XI */ 0x03be, /* GREEK CAPITAL LETTER XI */ 0x039e],
KeyK: [/* GREEK SMALL LETTER KAPPA */ 0x03ba, /* GREEK CAPITAL LETTER KAPPA */ 0x039a],
KeyL: [/* GREEK SMALL LETTER LAMDA */ 0x03bb, /* GREEK CAPITAL LETTER LAMDA */ 0x039b],
Semicolon: [{ dead: /* COMBINING ACUTE ACCENT */ 0x0301 }, { dead: /* COMBINING DIAERESIS */ 0x0308 }],
Semicolon: [{ dead: /* COMBINING ACUTE ACCENT */ 0x0301 }, { dead: /* COMBINING DIAERESIS */ 0x0308 }, { dead: /* COMBINING GREEK DIALYTIKA TONOS */ 0x0344 }],
Quote: [/* APOSTROPHE */ 0x0027, /* QUOTATION MARK */ 0x0022],
IntlBackslash: [/* LESS-THAN SIGN */ 0x003c, /* GREATER-THAN SIGN */ 0x003e],
KeyZ: [/* GREEK SMALL LETTER ZETA */ 0x03b6, /* GREEK CAPITAL LETTER ZETA */ 0x0396],
Expand Down
Binary file modified packages/keybr-phonetic-model/assets/model-el.data
Binary file not shown.