Skip to content

Commit 3c16cef

Browse files
authored
Merge pull request #348 from nyfz18/main
Keyboards Update
2 parents d66f34f + 6e37aa4 commit 3c16cef

File tree

6 files changed

+111
-0
lines changed

6 files changed

+111
-0
lines changed

Keyboards/LanguageKeyboards/French/FRInterfaceVariables.swift

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@ public enum FrenchKeyboardConstants {
5151
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
5252
]
5353

54+
//added for expanded keyboard
55+
static let letterKeysPadExpanded = [
56+
["#", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "°", "", "delete"],
57+
["indent", "a", "z", "e", "r", "t", "y", "u", "i", "o", "p", "¨", "*", "return"],
58+
["uppercase", "q", "s", "d", "f", "g", "h", "j", "k", "l", "m", "%", "£", "return"],
59+
["shift", ">", "w", "x", "c", "v", "b", "n", "?", ".", "/", "+", "shift"],
60+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
61+
]
62+
63+
//added for symbolKeysPadExpanded
64+
static let symbolKeysPadExpanded = [
65+
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
66+
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"],
67+
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "~", "return"],
68+
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
69+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
70+
]
71+
5472
// Alternate key vars.
5573
static let keysWithAlternates = ["a", "e", "i", "o", "u", "y", "c", "n"]
5674
static let keysWithAlternatesLeft = ["a", "e", "y", "c"]

Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@ public enum ItalianKeyboardConstants {
5151
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
5252
]
5353

54+
//added for expanded keyboard
55+
static let letterKeysPadExpanded = [
56+
["|", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "^", "delete"],
57+
["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "é", "*", "return"],
58+
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "ç", "°", "§", "return"],
59+
["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "", "shift"],
60+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
61+
]
62+
63+
//added for symbolKeysPadExpanded
64+
static let symbolKeysPadExpanded = [
65+
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
66+
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"],
67+
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "~", "return"],
68+
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
69+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
70+
]
71+
5472
// Alternate key vars.
5573
static let keysWithAlternates = ["a", "e", "i", "o", "u", "s", "c", "n"]
5674
static let keysWithAlternatesLeft = ["a", "e", "s", "c"]

Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,25 @@ public enum PortugueseKeyboardConstants {
5151
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
5252
]
5353

54+
//added for expanded keyboard
55+
static let letterKeysPadExpanded = [
56+
["~", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "", "+", "delete"],
57+
["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "{", "}", "|"],
58+
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", ":", '"', "return"],
59+
["shift", "z", "x", "c", "v", "b", "n", "m", "<", ">", "?", "shift"],
60+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
61+
]
62+
63+
//added for symbolKeysPadExpanded
64+
static let symbolKeysPadExpanded = [
65+
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
66+
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"],
67+
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"],
68+
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
69+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
70+
]
71+
72+
5473
// Alternate key vars.
5574
static let keysWithAlternates = ["a", "e", "i", "o", "u", "c", "n"]
5675
static let keysWithAlternatesLeft = ["a", "e", "c"]

Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,25 @@ public enum RussianKeyboardConstants {
5151
["selectKeyboard", "АБВ", "space", "АБВ", "hideKeyboard"], // "undoArrow"
5252
]
5353

54+
//added for expanded keyboard
55+
static let letterKeysPadExpanded = [
56+
["<", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "", "+", "delete"],
57+
["indent", "й", "ц", "у", "к", "е", "н", "г", "ш", "щ", "з", "х", "ъ", "return"],
58+
["uppercase", "ф", "ы", "в", "а", "п", "р", "о", "л", "д", "ж", "э", "Ё" "return"],
59+
["shift", "[", "я", "ч", "с", "м", "и", "т", "ь", "б", "ю", "?", "shift"],
60+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
61+
]
62+
63+
//added for symbolKeysPadExpanded
64+
static let symbolKeysPadExpanded = [
65+
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
66+
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"],
67+
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"],
68+
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
69+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
70+
]
71+
72+
5473
// Alternate key vars.
5574
static let keysWithAlternates = ["е", "ь"]
5675
static let keysWithAlternatesLeft = ["е"]

Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,25 @@ public enum SpanishKeyboardConstants {
5151
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
5252
]
5353

54+
//added for expanded keyboard
55+
static let letterKeysPadExpanded = [
56+
["°", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "i", "delete"],
57+
["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "¨", "*", "return"],
58+
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "Ñ", "[", "]" "return"],
59+
["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "", "shift"],
60+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
61+
]
62+
63+
//added for symbolKeysPadExpanded
64+
static let symbolKeysPadExpanded = [
65+
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
66+
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"],
67+
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"],
68+
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
69+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
70+
]
71+
72+
5473
// Alternate key vars.
5574
static let keysWithAlternates = ["a", "e", "i", "o", "u", "s", "d", "c", "n"]
5675
static let keysWithAlternatesLeft = ["a", "e", "s", "d", "c"]

Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@ public enum SwedishKeyboardConstants {
5151
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
5252
]
5353

54+
//added for expanded keyboard
55+
static let letterKeysPadExpanded = [
56+
["°", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "'", "delete"],
57+
["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "Å", "^", "return"],
58+
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "Ö", "Ä", "return"],
59+
["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "", "shift"],
60+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
61+
]
62+
63+
//added for symbolKeysPadExpanded
64+
static let symbolKeysPadExpanded = [
65+
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
66+
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"],
67+
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"],
68+
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
69+
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
70+
]
71+
5472
// Alternate key vars.
5573
static let keysWithAlternates = ["a", "e", "i", "o", "u", "ä", "ö", "s", "c", "n"]
5674
static let keysWithAlternatesLeft = ["a", "e", "s", "c"]

0 commit comments

Comments
 (0)