Layouts: Add Malayalam layout
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/660>
This commit is contained in:
@ -11,6 +11,10 @@ sq_view.gr_polytonic {
|
|||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sq_view.in_mal {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
sq_view.ir_azb {
|
sq_view.ir_azb {
|
||||||
font-size: 1.368em;
|
font-size: 1.368em;
|
||||||
}
|
}
|
||||||
|
|||||||
88
data/keyboards/in+mal.yaml
Normal file
88
data/keyboards/in+mal.yaml
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
---
|
||||||
|
outlines:
|
||||||
|
default: { width: 29.44, height: 44.5 }
|
||||||
|
altline: { width: 58.88, height: 44.5 }
|
||||||
|
change-view: { width: 58.88, height: 44.5 }
|
||||||
|
spaceline: { width: 235.52, height: 44.5 }
|
||||||
|
special: { width: 29.44, height: 44.5 }
|
||||||
|
placeholder: { width: 29.44, height: 44.5 }
|
||||||
|
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- " ൊ ൧ ൨ ൩ ൪ ൫ ൬ ൭ ൮ ൯ ൦ - ൃ "
|
||||||
|
- " ൗ ൈ ാ ീ ൂ ബ ഹ ഗ ദ ജ ഡ zwj zwnj "
|
||||||
|
- " -- ോ േ ് ി ു പ ര ക ത ച ട zwsp "
|
||||||
|
- "Shift_L െ ം മ ന വ ല സ യ -- BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
upper:
|
||||||
|
- " ഒ ! @ # ₹ % ^ & ൾ ( ) ഃ ഋ "
|
||||||
|
- " ഔ ഐ ആ ഈ ഊ ഭ ങ ഘ ധ ഝ ഢ ഞ ർ "
|
||||||
|
- " -- ഓ ഏ അ ഇ ഉ ഫ റ ഖ ഥ ഛ ഠ -- "
|
||||||
|
- "Shift_L എ ൺ ണ ൻ ഴ ള ശ ഷ ൽ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
numbers:
|
||||||
|
- " -- ൧ ൨ ൩ ൪ ൫ ൬ ൭ ൮ ൯ ൦ -- -- "
|
||||||
|
- "-- 1 2 3 4 5 6 7 8 9 0 -- --"
|
||||||
|
- "-- @ # $ % & - _ + ( ) -- --"
|
||||||
|
- "show_symbols ₹ , \" ' : ; ! ? -- BackSpace"
|
||||||
|
- "show_letters preferences space Return"
|
||||||
|
symbols:
|
||||||
|
- "-- -- -- -- -- -- -- -- -- -- -- -- --"
|
||||||
|
- "-- ~ ` | · √ π τ ÷ × ¶ -- --"
|
||||||
|
- "-- © ® £ € ¥ ^ ° * { } -- --"
|
||||||
|
- "show_numbers -- \\ / < > = [ ] -- BackSpace"
|
||||||
|
- "show_letters preferences space Return"
|
||||||
|
|
||||||
|
buttons:
|
||||||
|
Shift_L:
|
||||||
|
action:
|
||||||
|
locking:
|
||||||
|
lock_view: "upper"
|
||||||
|
unlock_view: "base"
|
||||||
|
outline: "change-view"
|
||||||
|
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: "change-view"
|
||||||
|
label: "123"
|
||||||
|
show_letters:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "change-view"
|
||||||
|
label: "ABC"
|
||||||
|
show_symbols:
|
||||||
|
action:
|
||||||
|
set_view: "symbols"
|
||||||
|
outline: "change-view"
|
||||||
|
label: "*/="
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "altline"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
--:
|
||||||
|
outline: "placeholder"
|
||||||
|
text: ""
|
||||||
|
# U+200B - zero-width-space
|
||||||
|
zwsp:
|
||||||
|
icon: "zwsp"
|
||||||
|
text: ""
|
||||||
|
# U+200C - zero-width-non-joiner
|
||||||
|
zwnj:
|
||||||
|
icon: "zwnj"
|
||||||
|
text: ""
|
||||||
|
# U+200D - zero-width-joiner
|
||||||
|
zwj:
|
||||||
|
icon: "zwj"
|
||||||
|
text: ""
|
||||||
88
data/keyboards/in+mal_wide.yaml
Normal file
88
data/keyboards/in+mal_wide.yaml
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
---
|
||||||
|
outlines:
|
||||||
|
default: { width: 45.11, height: 36.65 }
|
||||||
|
altline: { width: 90.22, height: 36.65 }
|
||||||
|
change-view: { width: 90.22, height: 36.65 }
|
||||||
|
spaceline: { width: 360.88, height: 36.65 }
|
||||||
|
special: { width: 45.11, height: 36.65 }
|
||||||
|
placeholder: { width: 45.11, height: 36.65 }
|
||||||
|
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- " ൊ ൧ ൨ ൩ ൪ ൫ ൬ ൭ ൮ ൯ ൦ - ൃ "
|
||||||
|
- " ൗ ൈ ാ ീ ൂ ബ ഹ ഗ ദ ജ ഡ zwj zwnj "
|
||||||
|
- " -- ോ േ ് ി ു പ ര ക ത ച ട zwsp "
|
||||||
|
- "Shift_L െ ം മ ന വ ല സ യ -- BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
upper:
|
||||||
|
- " ഒ ! @ # ₹ % ^ & ൾ ( ) ഃ ഋ "
|
||||||
|
- " ഔ ഐ ആ ഈ ഊ ഭ ങ ഘ ധ ഝ ഢ ഞ ർ "
|
||||||
|
- " -- ഓ ഏ അ ഇ ഉ ഫ റ ഖ ഥ ഛ ഠ -- "
|
||||||
|
- "Shift_L എ ൺ ണ ൻ ഴ ള ശ ഷ ൽ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
numbers:
|
||||||
|
- " -- ൧ ൨ ൩ ൪ ൫ ൬ ൭ ൮ ൯ ൦ -- -- "
|
||||||
|
- "-- 1 2 3 4 5 6 7 8 9 0 -- --"
|
||||||
|
- "-- @ # $ % & - _ + ( ) -- --"
|
||||||
|
- "show_symbols ₹ , \" ' : ; ! ? -- BackSpace"
|
||||||
|
- "show_letters preferences space Return"
|
||||||
|
symbols:
|
||||||
|
- "-- -- -- -- -- -- -- -- -- -- -- -- --"
|
||||||
|
- "-- ~ ` | · √ π τ ÷ × ¶ -- --"
|
||||||
|
- "-- © ® £ € ¥ ^ ° * { } -- --"
|
||||||
|
- "show_numbers -- \\ / < > = [ ] -- BackSpace"
|
||||||
|
- "show_letters preferences space Return"
|
||||||
|
|
||||||
|
buttons:
|
||||||
|
Shift_L:
|
||||||
|
action:
|
||||||
|
locking:
|
||||||
|
lock_view: "upper"
|
||||||
|
unlock_view: "base"
|
||||||
|
outline: "change-view"
|
||||||
|
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: "change-view"
|
||||||
|
label: "123"
|
||||||
|
show_letters:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "change-view"
|
||||||
|
label: "ABC"
|
||||||
|
show_symbols:
|
||||||
|
action:
|
||||||
|
set_view: "symbols"
|
||||||
|
outline: "change-view"
|
||||||
|
label: "*/="
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "altline"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
--:
|
||||||
|
outline: "placeholder"
|
||||||
|
text: ""
|
||||||
|
# U+200B - zero-width-space
|
||||||
|
zwsp:
|
||||||
|
icon: "zwsp"
|
||||||
|
text: ""
|
||||||
|
# U+200C - zero-width-non-joiner
|
||||||
|
zwnj:
|
||||||
|
icon: "zwnj"
|
||||||
|
text: ""
|
||||||
|
# U+200D - zero-width-joiner
|
||||||
|
zwj:
|
||||||
|
icon: "zwj"
|
||||||
|
text: ""
|
||||||
@ -87,6 +87,9 @@ static KEYBOARDS: &[(&'static str, &'static str)] = &[
|
|||||||
("il", include_str!("../data/keyboards/il.yaml")),
|
("il", include_str!("../data/keyboards/il.yaml")),
|
||||||
("il_wide", include_str!("../data/keyboards/il_wide.yaml")),
|
("il_wide", include_str!("../data/keyboards/il_wide.yaml")),
|
||||||
|
|
||||||
|
("in+mal", include_str!("../data/keyboards/in+mal.yaml")),
|
||||||
|
("in+mal_wide", include_str!("../data/keyboards/in+mal_wide.yaml")),
|
||||||
|
|
||||||
("ir", include_str!("../data/keyboards/ir.yaml")),
|
("ir", include_str!("../data/keyboards/ir.yaml")),
|
||||||
("ir_wide", include_str!("../data/keyboards/ir_wide.yaml")),
|
("ir_wide", include_str!("../data/keyboards/ir_wide.yaml")),
|
||||||
|
|
||||||
|
|||||||
@ -80,12 +80,13 @@ foreach layout : [
|
|||||||
'es+cat', 'es+cat_wide',
|
'es+cat', 'es+cat_wide',
|
||||||
'fi', 'fi_wide',
|
'fi', 'fi_wide',
|
||||||
'fr', 'fr_wide',
|
'fr', 'fr_wide',
|
||||||
|
'fr+bepo', 'fr+bepo_wide',
|
||||||
'ge', 'ge_wide',
|
'ge', 'ge_wide',
|
||||||
'gr', 'gr_wide',
|
'gr', 'gr_wide',
|
||||||
'gr+polytonic', 'gr+polytonic_wide',
|
'gr+polytonic', 'gr+polytonic_wide',
|
||||||
'fr+bepo', 'fr+bepo_wide',
|
|
||||||
'hu', 'hu_wide',
|
'hu', 'hu_wide',
|
||||||
'il', 'il_wide',
|
'il', 'il_wide',
|
||||||
|
'in+mal', 'in+mal_wide',
|
||||||
'ir', 'ir_wide',
|
'ir', 'ir_wide',
|
||||||
'it', 'it_wide',
|
'it', 'it_wide',
|
||||||
'it+fur', 'it+fur_wide',
|
'it+fur', 'it+fur_wide',
|
||||||
|
|||||||
Reference in New Issue
Block a user