Added Georgian layout

This commit is contained in:
skysphr
2022-06-24 18:28:21 +00:00
committed by dcz
parent feefe3fec2
commit 7f9baa8021
3 changed files with 80 additions and 0 deletions

78
data/keyboards/ge.yaml Normal file
View File

@ -0,0 +1,78 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:
- "ქ წ ე რ ტ უ ი ო პ"
- "ა ს დ ფ გ ჰ ჯ კ ლ"
- "Shift_L ზ ხ ც ვ ბ ნ მ BackSpace"
- "show_numbers preferences space period Return"
upper:
- "ქ ჭ ე ღ თ უ ი ო პ"
- "ა შ დ ფ გ ჰ ჟ კ ლ"
- "Shift_L ძ ხ ჩ ვ ბ ნ მ BackSpace"
- "show_numbers preferences space period Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "! @ # $ % ^ & * ( )"
- "show_symbols - ' \" colon ; , ? BackSpace"
- "show_letters preferences space period Return"
symbols:
- "+ ÷ = / _ € £ ¥ ₾"
- "~ ` | · √ π τ ° { }"
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space period Return"
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: "wide"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "*/="
period:
outline: "special"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"

View File

@ -55,6 +55,7 @@ static KEYBOARDS: &[(&'static str, &'static str)] = &[
("fr+bepo", include_str!("../data/keyboards/fr+bepo.yaml")), ("fr+bepo", include_str!("../data/keyboards/fr+bepo.yaml")),
("fr+bepo_wide", include_str!("../data/keyboards/fr+bepo_wide.yaml")), ("fr+bepo_wide", include_str!("../data/keyboards/fr+bepo_wide.yaml")),
("ge", include_str!("../data/keyboards/ge.yaml")),
("gr", include_str!("../data/keyboards/gr.yaml")), ("gr", include_str!("../data/keyboards/gr.yaml")),
("gr_wide", include_str!("../data/keyboards/gr_wide.yaml")), ("gr_wide", include_str!("../data/keyboards/gr_wide.yaml")),
("gr+polytonic", include_str!("../data/keyboards/gr+polytonic.yaml")), ("gr+polytonic", include_str!("../data/keyboards/gr+polytonic.yaml")),

View File

@ -76,6 +76,7 @@ foreach layout : [
'es+cat', 'es+cat',
'fi', 'fi',
'fr', 'fr_wide', 'fr', 'fr_wide',
'ge',
'gr', 'gr_wide', 'gr', 'gr_wide',
'gr+polytonic', 'gr+polytonic',
'fr+bepo', 'fr+bepo_wide', 'fr+bepo', 'fr+bepo_wide',