Skip to content

Commit 91747a3

Browse files
alexsosnclaude
andcommitted
Move aleph-hook vowels to end of long-press menus
Keep ả/Ả (and ỉ/Ỉ, ủ/Ủ) as the first option; a͗ i͗ u͗ / A͗ I͗ U͗ now close the row instead of leading it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3fed229 commit 91747a3

5 files changed

Lines changed: 55 additions & 55 deletions

File tree

build/dulat.uga.wordlist.model.kmp

0 Bytes
Binary file not shown.

build/ugaritic_translit.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/ugaritic_translit.kmp

9 Bytes
Binary file not shown.

source/ugaritic_translit.keyman-touch-layout

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@
133133
"text": "u",
134134
"hint": "",
135135
"sk": [
136-
{
137-
"text": "u͗",
138-
"id": "U_0075_0357"
139-
},
140136
{
141137
"text": "ủ",
142138
"id": "U_1EE7"
@@ -164,6 +160,10 @@
164160
{
165161
"text": "ǔ",
166162
"id": "U_01D4"
163+
},
164+
{
165+
"text": "u͗",
166+
"id": "U_0075_0357"
167167
}
168168
]
169169
},
@@ -172,10 +172,6 @@
172172
"text": "i",
173173
"hint": "",
174174
"sk": [
175-
{
176-
"text": "i͗",
177-
"id": "U_0069_0357"
178-
},
179175
{
180176
"text": "ỉ",
181177
"id": "U_1EC9"
@@ -203,6 +199,10 @@
203199
{
204200
"text": "ǐ",
205201
"id": "U_01D0"
202+
},
203+
{
204+
"text": "i͗",
205+
"id": "U_0069_0357"
206206
}
207207
]
208208
},
@@ -258,10 +258,6 @@
258258
"text": "a",
259259
"hint": "",
260260
"sk": [
261-
{
262-
"text": "a͗",
263-
"id": "U_0061_0357"
264-
},
265261
{
266262
"text": "ả",
267263
"id": "U_1EA3"
@@ -289,6 +285,10 @@
289285
{
290286
"text": "ǎ",
291287
"id": "U_01CE"
288+
},
289+
{
290+
"text": "a͗",
291+
"id": "U_0061_0357"
292292
}
293293
]
294294
},
@@ -778,10 +778,6 @@
778778
"hint": "",
779779
"layer": "default",
780780
"sk": [
781-
{
782-
"text": "U͗",
783-
"id": "U_0055_0357"
784-
},
785781
{
786782
"text": "Ủ",
787783
"id": "U_1EE6"
@@ -809,6 +805,10 @@
809805
{
810806
"text": "Ǔ",
811807
"id": "U_01D3"
808+
},
809+
{
810+
"text": "U͗",
811+
"id": "U_0055_0357"
812812
}
813813
]
814814
},
@@ -818,10 +818,6 @@
818818
"hint": "",
819819
"layer": "default",
820820
"sk": [
821-
{
822-
"text": "I͗",
823-
"id": "U_0049_0357"
824-
},
825821
{
826822
"text": "Ỉ",
827823
"id": "U_1EC8"
@@ -849,6 +845,10 @@
849845
{
850846
"text": "Ǐ",
851847
"id": "U_01CF"
848+
},
849+
{
850+
"text": "I͗",
851+
"id": "U_0049_0357"
852852
}
853853
]
854854
},
@@ -907,10 +907,6 @@
907907
"hint": "",
908908
"layer": "default",
909909
"sk": [
910-
{
911-
"text": "A͗",
912-
"id": "U_0041_0357"
913-
},
914910
{
915911
"text": "Ả",
916912
"id": "U_1EA2"
@@ -938,6 +934,10 @@
938934
{
939935
"text": "Ǎ",
940936
"id": "U_01CD"
937+
},
938+
{
939+
"text": "A͗",
940+
"id": "U_0041_0357"
941941
}
942942
]
943943
},
@@ -1801,10 +1801,6 @@
18011801
"text": "u",
18021802
"hint": "",
18031803
"sk": [
1804-
{
1805-
"text": "u͗",
1806-
"id": "U_0075_0357"
1807-
},
18081804
{
18091805
"text": "ủ",
18101806
"id": "U_1EE7"
@@ -1832,6 +1828,10 @@
18321828
{
18331829
"text": "ǔ",
18341830
"id": "U_01D4"
1831+
},
1832+
{
1833+
"text": "u͗",
1834+
"id": "U_0075_0357"
18351835
}
18361836
]
18371837
},
@@ -1840,10 +1840,6 @@
18401840
"text": "i",
18411841
"hint": "",
18421842
"sk": [
1843-
{
1844-
"text": "i͗",
1845-
"id": "U_0069_0357"
1846-
},
18471843
{
18481844
"text": "ỉ",
18491845
"id": "U_1EC9"
@@ -1871,6 +1867,10 @@
18711867
{
18721868
"text": "ǐ",
18731869
"id": "U_01D0"
1870+
},
1871+
{
1872+
"text": "i͗",
1873+
"id": "U_0069_0357"
18741874
}
18751875
]
18761876
},
@@ -1926,10 +1926,6 @@
19261926
"text": "a",
19271927
"hint": "",
19281928
"sk": [
1929-
{
1930-
"text": "a͗",
1931-
"id": "U_0061_0357"
1932-
},
19331929
{
19341930
"text": "ả",
19351931
"id": "U_1EA3"
@@ -1957,6 +1953,10 @@
19571953
{
19581954
"text": "ǎ",
19591955
"id": "U_01CE"
1956+
},
1957+
{
1958+
"text": "a͗",
1959+
"id": "U_0061_0357"
19601960
}
19611961
]
19621962
},
@@ -2446,10 +2446,6 @@
24462446
"hint": "",
24472447
"layer": "default",
24482448
"sk": [
2449-
{
2450-
"text": "U͗",
2451-
"id": "U_0055_0357"
2452-
},
24532449
{
24542450
"text": "Ủ",
24552451
"id": "U_1EE6"
@@ -2477,6 +2473,10 @@
24772473
{
24782474
"text": "Ǔ",
24792475
"id": "U_01D3"
2476+
},
2477+
{
2478+
"text": "U͗",
2479+
"id": "U_0055_0357"
24802480
}
24812481
]
24822482
},
@@ -2486,10 +2486,6 @@
24862486
"hint": "",
24872487
"layer": "default",
24882488
"sk": [
2489-
{
2490-
"text": "I͗",
2491-
"id": "U_0049_0357"
2492-
},
24932489
{
24942490
"text": "Ỉ",
24952491
"id": "U_1EC8"
@@ -2517,6 +2513,10 @@
25172513
{
25182514
"text": "Ǐ",
25192515
"id": "U_01CF"
2516+
},
2517+
{
2518+
"text": "I͗",
2519+
"id": "U_0049_0357"
25202520
}
25212521
]
25222522
},
@@ -2575,10 +2575,6 @@
25752575
"hint": "",
25762576
"layer": "default",
25772577
"sk": [
2578-
{
2579-
"text": "A͗",
2580-
"id": "U_0041_0357"
2581-
},
25822578
{
25832579
"text": "Ả",
25842580
"id": "U_1EA2"
@@ -2606,6 +2602,10 @@
26062602
{
26072603
"text": "Ǎ",
26082604
"id": "U_01CD"
2605+
},
2606+
{
2607+
"text": "A͗",
2608+
"id": "U_0041_0357"
26092609
}
26102610
]
26112611
},

tools/generate_keyboard.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ def with_cuneiform(options: list[str], *, base: str | None = None) -> list[str]:
166166
LONGPRESS = {
167167
"K_Q": with_cuneiform([], base="q"),
168168
"K_W": with_cuneiform([], base="w"),
169-
"K_A": with_cuneiform(["a\u0357", "ả", *VOWEL_VARIANTS["a"]]),
169+
"K_A": with_cuneiform(["ả", *VOWEL_VARIANTS["a"], "a\u0357"]),
170170
"K_E": ["ə", *VOWEL_VARIANTS["e"]],
171171
"K_R": with_cuneiform([], base="r"),
172172
"K_Y": with_cuneiform([], base="y"),
173-
"K_I": with_cuneiform(["i\u0357", "ỉ", *VOWEL_VARIANTS["i"]]),
173+
"K_I": with_cuneiform(["ỉ", *VOWEL_VARIANTS["i"], "i\u0357"]),
174174
"K_O": [*VOWEL_VARIANTS["o"]],
175-
"K_U": with_cuneiform(["u\u0357", "ủ", *VOWEL_VARIANTS["u"]]),
175+
"K_U": with_cuneiform(["ủ", *VOWEL_VARIANTS["u"], "u\u0357"]),
176176
"K_V": [*VOWEL_VARIANTS["v"]],
177177
"K_B": with_cuneiform(["b\u0331"], base="b"),
178178
"K_D": with_cuneiform(["ḏ", "ð"], base="d"),
@@ -194,13 +194,13 @@ def with_cuneiform(options: list[str], *, base: str | None = None) -> list[str]:
194194
}
195195

196196
SHIFT_LONGPRESS = {
197-
"U_0041": ["A\u0357", "Ả", "𐎀", *VOWEL_VARIANTS["A"]],
197+
"U_0041": ["Ả", "𐎀", *VOWEL_VARIANTS["A"], "A\u0357"],
198198
"U_0042": with_cuneiform(["B\u0331"], base="b"),
199199
"U_0045": [*VOWEL_VARIANTS["E"]],
200200
"U_0044": with_cuneiform(["Ḏ", "Ð"], base="d"),
201201
"U_0047": with_cuneiform(["Ġ", "Ģ", "G\u0304"], base="g"),
202202
"U_0048": with_cuneiform(["Ḥ", "Ḫ"], base="h"),
203-
"U_0049": ["I\u0357", "Ỉ", "𐎛", *VOWEL_VARIANTS["I"]],
203+
"U_0049": ["Ỉ", "𐎛", *VOWEL_VARIANTS["I"], "I\u0357"],
204204
"U_004B": with_cuneiform(["K\u0331"], base="k"),
205205
"U_004C": with_cuneiform([], base="l"),
206206
"U_004D": with_cuneiform([], base="m"),
@@ -211,7 +211,7 @@ def with_cuneiform(options: list[str], *, base: str | None = None) -> list[str]:
211211
"U_0052": with_cuneiform([], base="r"),
212212
"U_0053": with_cuneiform(["Ś", "Ṣ", "Š", "S\u0300"], base="s"),
213213
"U_0054": with_cuneiform(["Ṭ", "Ṯ", "Ŧ"], base="t"),
214-
"U_0055": ["U\u0357", "Ủ", "𐎜", *VOWEL_VARIANTS["U"]],
214+
"U_0055": ["Ủ", "𐎜", *VOWEL_VARIANTS["U"], "U\u0357"],
215215
"U_0056": [*VOWEL_VARIANTS["V"]],
216216
"U_0057": with_cuneiform([], base="w"),
217217
"U_0059": with_cuneiform([], base="y"),

0 commit comments

Comments
 (0)