Skip to content

Commit

Permalink
Keyboards Update
Browse files Browse the repository at this point in the history
French, Italian, Portuguese, Russian, Spanish, Swedish
  • Loading branch information
nyfz18 committed Jul 28, 2023
1 parent 351eec9 commit 6e37aa4
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Keyboards/LanguageKeyboards/French/FRInterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,24 @@ public enum FrenchKeyboardConstants {
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
]

//added for expanded keyboard
static let letterKeysPadExpanded = [
["#", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "°", "", "delete"],
["indent", "a", "z", "e", "r", "t", "y", "u", "i", "o", "p", "¨", "*", "return"],
["uppercase", "q", "s", "d", "f", "g", "h", "j", "k", "l", "m", "%", "£", "return"],
["shift", ">", "w", "x", "c", "v", "b", "n", "?", ".", "/", "+", "shift"],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
]

//added for symbolKeysPadExpanded
static let symbolKeysPadExpanded = [
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"],
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "~", "return"],
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
]

// Alternate key vars.
static let keysWithAlternates = ["a", "e", "i", "o", "u", "y", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "y", "c"]
Expand Down
18 changes: 18 additions & 0 deletions Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,24 @@ public enum ItalianKeyboardConstants {
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
]

//added for expanded keyboard
static let letterKeysPadExpanded = [
["|", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "^", "delete"],
["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "é", "*", "return"],
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "ç", "°", "§", "return"],
["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "", "shift"],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
]

//added for symbolKeysPadExpanded
static let symbolKeysPadExpanded = [
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"],
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "~", "return"],
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
]

// Alternate key vars.
static let keysWithAlternates = ["a", "e", "i", "o", "u", "s", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "s", "c"]
Expand Down
19 changes: 19 additions & 0 deletions Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,25 @@ public enum PortugueseKeyboardConstants {
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
]

//added for expanded keyboard
static let letterKeysPadExpanded = [
["~", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "", "+", "delete"],
["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "{", "}", "|"],
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", ":", '"', "return"],
["shift", "z", "x", "c", "v", "b", "n", "m", "<", ">", "?", "shift"],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
]

//added for symbolKeysPadExpanded
static let symbolKeysPadExpanded = [
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"],
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"],
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
]


// Alternate key vars.
static let keysWithAlternates = ["a", "e", "i", "o", "u", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "c"]
Expand Down
19 changes: 19 additions & 0 deletions Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,25 @@ public enum RussianKeyboardConstants {
["selectKeyboard", "АБВ", "space", "АБВ", "hideKeyboard"], // "undoArrow"
]

//added for expanded keyboard
static let letterKeysPadExpanded = [
["<", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "", "+", "delete"],
["indent", "й", "ц", "у", "к", "е", "н", "г", "ш", "щ", "з", "х", "ъ", "return"],
["uppercase", "ф", "ы", "в", "а", "п", "р", "о", "л", "д", "ж", "э", "Ё" "return"],
["shift", "[", "я", "ч", "с", "м", "и", "т", "ь", "б", "ю", "?", "shift"],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
]

//added for symbolKeysPadExpanded
static let symbolKeysPadExpanded = [
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"],
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"],
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
]


// Alternate key vars.
static let keysWithAlternates = ["е", "ь"]
static let keysWithAlternatesLeft = ["е"]
Expand Down
19 changes: 19 additions & 0 deletions Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,25 @@ public enum SpanishKeyboardConstants {
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
]

//added for expanded keyboard
static let letterKeysPadExpanded = [
["°", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "i", "delete"],
["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "¨", "*", "return"],
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "Ñ", "[", "]" "return"],
["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "", "shift"],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
]

//added for symbolKeysPadExpanded
static let symbolKeysPadExpanded = [
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"],
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"],
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
]


// Alternate key vars.
static let keysWithAlternates = ["a", "e", "i", "o", "u", "s", "d", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "s", "d", "c"]
Expand Down
18 changes: 18 additions & 0 deletions Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,24 @@ public enum SwedishKeyboardConstants {
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
]

//added for expanded keyboard
static let letterKeysPadExpanded = [
["°", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "'", "delete"],
["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "Å", "^", "return"],
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "Ö", "Ä", "return"],
["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "", "shift"],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
]

//added for symbolKeysPadExpanded
static let symbolKeysPadExpanded = [
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"],
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"],
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", ""],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
]

// Alternate key vars.
static let keysWithAlternates = ["a", "e", "i", "o", "u", "ä", "ö", "s", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "s", "c"]
Expand Down

0 comments on commit 6e37aa4

Please sign in to comment.