Tekkon 1.1.5 // Fix how Hsu arrange handles "v" key by default.
This commit is contained in:
parent
15439ab5b5
commit
d67a6fd28f
|
@ -670,7 +670,7 @@ public struct Tekkon {
|
||||||
default: break
|
default: break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "ㄑ":
|
case "ㄔ":
|
||||||
if intonation.isEmpty {
|
if intonation.isEmpty {
|
||||||
switch incomingPhonabet {
|
switch incomingPhonabet {
|
||||||
case "ㄧ": consonant = "ㄑ" // ㄐㄧ
|
case "ㄧ": consonant = "ㄑ" // ㄐㄧ
|
||||||
|
@ -718,7 +718,6 @@ public struct Tekkon {
|
||||||
consonant.selfReplace("ㄑ", "ㄔ")
|
consonant.selfReplace("ㄑ", "ㄔ")
|
||||||
consonant.selfReplace("ㄒ", "ㄕ")
|
consonant.selfReplace("ㄒ", "ㄕ")
|
||||||
}
|
}
|
||||||
if vowel == "ㄜ", semivowel.isEmpty { consonant.selfReplace("ㄑ", "ㄔ") }
|
|
||||||
if consonant == "ㄏ", semivowel.isEmpty, vowel.isEmpty {
|
if consonant == "ㄏ", semivowel.isEmpty, vowel.isEmpty {
|
||||||
consonant = ""
|
consonant = ""
|
||||||
vowel = "ㄛ"
|
vowel = "ㄛ"
|
||||||
|
@ -1289,7 +1288,7 @@ public struct Tekkon {
|
||||||
/// 這裡提前對複音按鍵做處理,然後再用程式判斷介母類型、據此判斷是否需要做複音切換。
|
/// 這裡提前對複音按鍵做處理,然後再用程式判斷介母類型、據此判斷是否需要做複音切換。
|
||||||
static let mapHsuStaticKeys: [String: String] = [
|
static let mapHsuStaticKeys: [String: String] = [
|
||||||
"a": "ㄘ", "b": "ㄅ", "c": "ㄒ", "d": "ㄉ", "e": "ㄧ", "f": "ㄈ", "g": "ㄍ", "h": "ㄏ", "i": "ㄞ", "j": "ㄐ", "k": "ㄎ",
|
"a": "ㄘ", "b": "ㄅ", "c": "ㄒ", "d": "ㄉ", "e": "ㄧ", "f": "ㄈ", "g": "ㄍ", "h": "ㄏ", "i": "ㄞ", "j": "ㄐ", "k": "ㄎ",
|
||||||
"l": "ㄌ", "m": "ㄇ", "n": "ㄋ", "o": "ㄡ", "p": "ㄆ", "r": "ㄖ", "s": "ㄙ", "t": "ㄊ", "u": "ㄩ", "v": "ㄑ", "w": "ㄠ",
|
"l": "ㄌ", "m": "ㄇ", "n": "ㄋ", "o": "ㄡ", "p": "ㄆ", "r": "ㄖ", "s": "ㄙ", "t": "ㄊ", "u": "ㄩ", "v": "ㄔ", "w": "ㄠ",
|
||||||
"x": "ㄨ", "y": "ㄚ", "z": "ㄗ", " ": " ",
|
"x": "ㄨ", "y": "ㄚ", "z": "ㄗ", " ": " ",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue