Add German terminal-keyboard-layout

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/609>
This commit is contained in:
MoonlightWave-12
2024-03-03 09:49:05 +01:00
parent 805d276248
commit 4352f01486
4 changed files with 519 additions and 0 deletions

View File

@ -0,0 +1,255 @@
---
outlines:
default: { width: 35.33, height: 46 }
halfwidth: { width: 17.665, height: 46 }
narrow: { width: 26.335, height: 46 }
special: { width: 35.33, height: 46 }
altline: { width: 52.67, height: 46 }
large: { width: 52.67, height: 46 }
action: { width: 59, height: 46 }
wide: { width: 59, height: 46 }
spaceline: { width: 100.96, height: 46 }
small: { width: 50.471, height: 22 }
views:
base:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "q w e r t z u i o p"
- "PeriodSmall a s d f g h j k l MinusSmall"
- "Shift_L y x c v b n m BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
upper:
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Z U I O P"
- "SlashSmall A S D F G H J K L PipeSmall"
- "Shift_L Y X C V B N M BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
numbers:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0"
- "\\ * # $ / & - + ( ) _"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters show_eschars preferences space period Return"
symbols:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "~ ` · √ π τ ÷ × ¶ @"
- "© ® £ € ¥ ^ ° { }"
- "show_numbers_from_symbols % | < > = [ ] BackSpace"
- "show_letters show_eschars preferences space period Return"
eschars:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "ä è é ö ü Ä È É Ö Ü"
- "à â ê î ô À Â È Î Ô"
- "show_numbers « » ç Ç æ œ ß BackSpace"
- "show_letters show_eschars preferences space „ “ Return"
actions:
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters_actions Menu Break Left Down Right"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_letters_actions:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "τ=\\"
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "Ää"
show_actions:
action:
set_view: "actions"
outline: "altline"
label: ">_"
period:
outline: "large"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"
F1:
outline: "action"
keysym: "F1"
F2:
outline: "action"
keysym: "F2"
F3:
outline: "action"
keysym: "F3"
F4:
outline: "action"
keysym: "F4"
F5:
outline: "action"
keysym: "F5"
F6:
outline: "action"
keysym: "F6"
F7:
outline: "action"
keysym: "F7"
F8:
outline: "action"
keysym: "F8"
F9:
outline: "action"
keysym: "F9"
F10:
outline: "action"
keysym: "F10"
F11:
outline: "action"
keysym: "F11"
F12:
outline: "action"
keysym: "F12"
Esc:
outline: "action"
keysym: "Escape"
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
label: "Entf"
Insert:
outline: "action"
keysym: "Insert"
label: "Einfg"
Menu:
outline: "action"
keysym: "Menu"
label: "Menü"
Pause:
outline: "action"
keysym: "Pause"
Break:
outline: "action"
keysym: "Break"
label: "Untbr"
Home:
outline: "small"
keysym: "Home"
label: "Pos1"
End:
outline: "small"
keysym: "End"
label: "Ende"
PgUp:
outline: "small"
keysym: "Page_Up"
label: "Bild↑"
PgDn:
outline: "small"
keysym: "Page_Down"
label: "Bild↓"
"↑":
outline: "small"
keysym: "Up"
"↓":
outline: "small"
keysym: "Down"
"←":
outline: "small"
keysym: "Left"
"→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action"
keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Strg"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"
MinusSmall:
outline: "halfwidth"
text: "-"
SlashSmall:
outline: "halfwidth"
text: "/"
PipeSmall:
outline: "halfwidth"
text: "|"
PeriodSmall:
outline: "halfwidth"
text: "."
"„":
outline: "narrow"
text: "„"
"“":
outline: "narrow"
text: "“"
"\\":
outline: "halfwidth"
_:
outline: "halfwidth"

View File

@ -0,0 +1,259 @@
---
outlines:
default: { width: 54, height: 37 }
halfwidth: { width: 27, height: 37 }
narrow: { width: 40.5, height: 37 }
special: { width: 54, height: 37 }
altline: { width: 81, height: 37 }
large: { width: 81, height: 37 }
action: { width: 90, height: 37 }
wide: { width: 90, height: 37 }
spaceline: { width: 153, height: 37 }
small: { width: 67.4, height: 22 }
views:
base:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "q w e r t z u i o p"
- "PeriodSmall a s d f g h j k l MinusSmall"
- "Shift_L y x c v b n m BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
upper:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Z U I O P"
- "SlashSmall A S D F G H J K L PipeSmall"
- "Shift_L Y X C V B N M BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
numbers:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0"
- "\\ * # $ / & - + ( ) _"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters show_eschars preferences space period Return"
symbols:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "~ ` · √ π τ ÷ × ¶ @"
- "© ® £ € ¥ ^ ° { }"
- "show_numbers_from_symbols % | < > = [ ] BackSpace"
- "show_letters show_eschars preferences space period Return"
eschars:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "ä è é ö ü Ä È É Ö Ü"
- "à â ê î ô À Â È Î Ô"
- "show_numbers « » ç Ç æ œ ß BackSpace"
- "show_letters show_eschars preferences space „ “ Return"
actions:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters_actions Menu Break Left Down Right"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_letters_actions:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "τ=\\"
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "Ää"
show_actions:
action:
set_view: "actions"
outline: "altline"
label: ">_"
period:
outline: "large"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"
F1:
outline: "action"
keysym: "F1"
F2:
outline: "action"
keysym: "F2"
F3:
outline: "action"
keysym: "F3"
F4:
outline: "action"
keysym: "F4"
F5:
outline: "action"
keysym: "F5"
F6:
outline: "action"
keysym: "F6"
F7:
outline: "action"
keysym: "F7"
F8:
outline: "action"
keysym: "F8"
F9:
outline: "action"
keysym: "F9"
F10:
outline: "action"
keysym: "F10"
F11:
outline: "action"
keysym: "F11"
F12:
outline: "action"
keysym: "F12"
Esc:
outline: "action"
keysym: "Escape"
EscSmall:
outline: "small"
keysym: "Escape"
label: "Esc"
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
label: "Entf"
Insert:
outline: "action"
keysym: "Insert"
label: "Einfg"
Menu:
outline: "action"
keysym: "Menu"
label: "Menü"
Pause:
outline: "action"
keysym: "Pause"
Break:
outline: "action"
keysym: "Break"
label: "Untbr"
Home:
outline: "small"
keysym: "Home"
label: "Pos1"
End:
outline: "small"
keysym: "End"
label: "Ende"
PgUp:
outline: "small"
keysym: "Page_Up"
label: "Bild↑"
PgDn:
outline: "small"
keysym: "Page_Down"
label: "Bild↓"
"↑":
outline: "small"
keysym: "Up"
"↓":
outline: "small"
keysym: "Down"
"←":
outline: "small"
keysym: "Left"
"→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action"
keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Strg"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"
MinusSmall:
outline: "halfwidth"
text: "-"
SlashSmall:
outline: "halfwidth"
text: "/"
PipeSmall:
outline: "halfwidth"
text: "|"
PeriodSmall:
outline: "halfwidth"
text: "."
"„":
outline: "narrow"
text: "„"
"“":
outline: "narrow"
text: "“"
"\\":
outline: "halfwidth"
_:
outline: "halfwidth"

View File

@ -111,6 +111,9 @@ static KEYBOARDS: &[(&'static str, &'static str)] = &[
("pin/us", include_str!("../data/keyboards/pin/us.yaml")), ("pin/us", include_str!("../data/keyboards/pin/us.yaml")),
// Terminal // Terminal
("terminal/de", include_str!("../data/keyboards/terminal/de.yaml")),
("terminal/de_wide", include_str!("../data/keyboards/terminal/de_wide.yaml")),
("terminal/es", include_str!("../data/keyboards/terminal/es.yaml")), ("terminal/es", include_str!("../data/keyboards/terminal/es.yaml")),
("terminal/es_wide", include_str!("../data/keyboards/terminal/es_wide.yaml")), ("terminal/es_wide", include_str!("../data/keyboards/terminal/es_wide.yaml")),

View File

@ -98,6 +98,8 @@ foreach layout : [
'us+dvorak', 'us+dvorak_wide', 'us+dvorak', 'us+dvorak_wide',
# Terminal keyboards # Terminal keyboards
'terminal/de',
'terminal/de_wide',
'terminal/es', 'terminal/es',
'terminal/es_wide', 'terminal/es_wide',
'terminal/fr', 'terminal/fr',