Add an additional view for the accents on the Portuguese (Brazil) layout

and add a Portuguese layout based on it.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/649>
This commit is contained in:
MoonlightWave-12
2024-04-28 13:16:07 +02:00
committed by Marge Bot
parent 43f0102905
commit 856ed64a46
6 changed files with 287 additions and 60 deletions

View File

@ -1,34 +1,39 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
change-view: { width: 52.67, height: 52 }
change-view-2: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.67, height: 52 }
altline: { width: 53, height: 52 }
wide: { width: 53, height: 52 }
change-view: { width: 53, height: 52 }
spaceline: { width: 90, height: 52 }
special: { width: 35.67, height: 52 }
large: { width: 71.34, height: 52 }
views:
base:
- "q w e r t y u i o p"
- "a s d f g h j k l ç"
- "Shift_L z x c v b n m BackSpace"
- "show_numbers preferences space , Return"
- "show_numbers show_eschars preferences space .-large Return"
upper:
- "Q W E R T Y U I O P"
- "A S D F G H J K L Ç"
- "Shift_L Z X C V B N M BackSpace"
- "show_numbers preferences space . Return"
- "show_numbers show_eschars preferences space ,-large Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "à À á Á ã Ã â Â é É"
- "show_symbols ê Ê í Í ó Ó ô Ô"
- "show_letters õ Õ ú Ú ü Ü . BackSpace"
- "@ # $ % & - _ + ( )"
- "show_symbols , \" ' : ; ! ? BackSpace"
- "show_letters show_eschars preferences space º . Return"
symbols:
- "@ # $ % - + ÷ × = ≠"
- "( ) § & < > / * { }"
- "show_numbers_from_symbols º \" ' : ; ! ? BackSpace"
- "show_letters preferences space . Return"
- "~ ` | · √ π τ ÷ × "
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers \\ / < > = [ ] BackSpace"
- "show_letters show_eschars preferences space ≠ § Return"
eschars:
- "À Á Ã Â É Ê Í Ó Ô Õ"
- "à á ã â é ê í ó ô õ "
- "show_numbers Ú Ü ú ü ! ? . BackSpace"
- "show_letters show_eschars preferences space « » Return"
buttons:
Shift_L:
@ -47,27 +52,33 @@ buttons:
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "change-view-2"
label: "1ã"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "change-view"
label: "1ã"
label: "123"
show_letters:
action:
set_view: "base"
outline: "change-view-2"
outline: "change-view"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "change-view"
label: "*/="
.:
outline: "special"
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "change-view"
label: "Ãã"
.-large:
outline: "large"
text: "."
",-large":
outline: "large"
text: ","
space:
outline: "spaceline"
text: " "