Skip to content

Commit

Permalink
#33 fixes to expanded iPad layouts
Browse files Browse the repository at this point in the history
andrewtavis committed Jul 20, 2023
1 parent d87bca3 commit b563c7f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Keyboards/LanguageKeyboards/German/DEInterfaceVariables.swift
Original file line number Diff line number Diff line change
@@ -51,22 +51,22 @@ public enum GermanKeyboardConstants {
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
]

//added for expanded keyboard
// Expanded pad layouts for wider devices.
static let letterKeysPadExpanded = [
["^", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "ß", "'", "delete"],
["^", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "ß", "´", "delete"],
["indent", "q", "w", "e", "r", "t", "z", "u", "i", "o", "p", "ü", "+", "return"],
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "ö", "ä", "#", "return"],
["shift", "<", "y", "x", "c", "v", "b", "n", "m", ",", ".", "-", "shift"],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
["selectKeyboard", ".?123", "space", ".?123", "hideKeyboard"], // "microphone", "scribble"
]

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

// Alternate key vars.
@@ -178,4 +178,4 @@ func setDEKeyboardLayout() {
pluralPromptAndColorPlaceholder = NSMutableAttributedString(string: pluralPromptAndPlaceholder)
pluralPromptAndColorPlaceholder.setColorForText(textForAttribute: pluralPlaceholder, withColor: UIColor(cgColor: commandBarBorderColor))
alreadyPluralMsg = "Schon Plural"
}
}

0 comments on commit b563c7f

Please sign in to comment.