gnome-shell/data/osk-layouts/ph.json
Carlos Garnacho c609ffe0b5 data: Move extra keys to JSON files
Have these defined in the JSON files themselves, instead of trying
to add them from JS while minding the differences in number of levels
and rows.

This means more redundant data in the JSON files, but simplifies
OSK layout creation significantly, and allows finer control over the
appearance without quirks.

As a result, importing data from CLDR is no longer as straightforward
as running an script. After initial import, manual editions will be
required to add missing keys, assign key widths, and so on.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2278>
2022-08-10 17:11:26 +00:00

911 lines
16 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"levels": [
{
"level": "",
"mode": "default",
"rows": [
[
{
"strings": [
"q"
]
},
{
"strings": [
"w"
]
},
{
"strings": [
"e"
]
},
{
"strings": [
"r"
]
},
{
"strings": [
"t"
]
},
{
"strings": [
"y"
]
},
{
"strings": [
"u"
]
},
{
"strings": [
"i"
]
},
{
"strings": [
"o"
]
},
{
"strings": [
"p"
]
},
{
"iconName": "edit-clear-symbolic",
"keyval": "0xff08",
"width": 1.5
}
],
[
{
"strings": [
"a"
]
},
{
"strings": [
"s"
]
},
{
"strings": [
"d"
]
},
{
"strings": [
"f"
]
},
{
"strings": [
"g"
]
},
{
"strings": [
"h"
]
},
{
"strings": [
"j"
]
},
{
"strings": [
"k"
]
},
{
"strings": [
"l"
]
},
{
"iconName": "keyboard-enter-symbolic",
"keyval": "0xff0d",
"width": 2
}
],
[
{
"action": "levelSwitch",
"iconName": "keyboard-shift-symbolic",
"level": 1,
"width": 1.5
},
{
"strings": [
"z"
]
},
{
"strings": [
"x"
]
},
{
"strings": [
"c"
]
},
{
"strings": [
"v"
]
},
{
"strings": [
"b"
]
},
{
"strings": [
"n"
]
},
{
"strings": [
"m"
]
},
{
"action": "levelSwitch",
"iconName": "keyboard-shift-symbolic",
"level": 1,
"width": 3
}
],
[
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 1.5
},
{
"strings": [
","
]
},
{
"strings": [
" "
],
"width": 5
},
{
"strings": [
".",
"#",
"!",
",",
"?",
"-",
":",
"'",
"@"
]
},
{
"action": "emoji",
"iconName": "face-smile-symbolic"
},
{
"action": "languageMenu",
"iconName": "keyboard-layout-symbolic"
},
{
"action": "hide",
"iconName": "go-down-symbolic"
}
]
]
},
{
"level": "shift",
"mode": "latched",
"rows": [
[
{
"strings": [
"Q"
]
},
{
"strings": [
"W"
]
},
{
"strings": [
"E"
]
},
{
"strings": [
"R"
]
},
{
"strings": [
"T"
]
},
{
"strings": [
"Y"
]
},
{
"strings": [
"U"
]
},
{
"strings": [
"I"
]
},
{
"strings": [
"O"
]
},
{
"strings": [
"P"
]
},
{
"iconName": "edit-clear-symbolic",
"keyval": "0xff08",
"width": 1.5
}
],
[
{
"strings": [
"A"
]
},
{
"strings": [
"S"
]
},
{
"strings": [
"D"
]
},
{
"strings": [
"F"
]
},
{
"strings": [
"G"
]
},
{
"strings": [
"H"
]
},
{
"strings": [
"J"
]
},
{
"strings": [
"K"
]
},
{
"strings": [
"L"
]
},
{
"iconName": "keyboard-enter-symbolic",
"keyval": "0xff0d",
"width": 2
}
],
[
{
"action": "levelSwitch",
"iconName": "keyboard-shift-symbolic",
"level": 0,
"width": 1.5
},
{
"strings": [
"Z"
]
},
{
"strings": [
"X"
]
},
{
"strings": [
"C"
]
},
{
"strings": [
"V"
]
},
{
"strings": [
"B"
]
},
{
"strings": [
"N"
]
},
{
"strings": [
"M"
]
},
{
"action": "levelSwitch",
"iconName": "keyboard-shift-symbolic",
"level": 0,
"width": 3
}
],
[
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 1.5
},
{
"strings": [
","
]
},
{
"strings": [
" "
],
"width": 5
},
{
"strings": [
".",
"#",
"!",
",",
"?",
"-",
":",
"'",
"@"
]
},
{
"action": "emoji",
"iconName": "face-smile-symbolic"
},
{
"action": "languageMenu",
"iconName": "keyboard-layout-symbolic"
},
{
"action": "hide",
"iconName": "go-down-symbolic"
}
]
]
},
{
"level": "opt",
"mode": "locked",
"rows": [
[
{
"strings": [
"1",
"¹",
"½",
"⅓",
"¼",
"⅛"
]
},
{
"strings": [
"2",
"²",
"⅔"
]
},
{
"strings": [
"3",
"³",
"¾",
"⅜"
]
},
{
"strings": [
"4",
"⁴"
]
},
{
"strings": [
"5",
"⅝"
]
},
{
"strings": [
"6"
]
},
{
"strings": [
"7",
"⅞"
]
},
{
"strings": [
"8"
]
},
{
"strings": [
"9"
]
},
{
"strings": [
"0",
"ⁿ",
"∅"
]
},
{
"iconName": "edit-clear-symbolic",
"keyval": "0xff08",
"width": 1.5
}
],
[
{
"strings": [
"@"
]
},
{
"strings": [
"#"
]
},
{
"strings": [
"$",
"¢",
"£",
"€",
"¥",
"₱"
]
},
{
"strings": [
"%",
"‰"
]
},
{
"strings": [
"&"
]
},
{
"strings": [
"-",
"_",
"",
"—",
"·"
]
},
{
"strings": [
"+",
"±"
]
},
{
"strings": [
"(",
"<",
"{",
"["
]
},
{
"strings": [
")",
">",
"}",
"]"
]
},
{
"iconName": "keyboard-enter-symbolic",
"keyval": "0xff0d",
"width": 2
}
],
[
{
"action": "levelSwitch",
"label": "=/<",
"level": 3,
"width": 1.5
},
{
"strings": [
"*",
"†",
"‡",
"★"
]
},
{
"strings": [
"\"",
"“",
"”",
"«",
"»"
]
},
{
"strings": [
"'",
"",
"",
"",
""
]
},
{
"strings": [
":"
]
},
{
"strings": [
";"
]
},
{
"strings": [
"!",
"¡"
]
},
{
"strings": [
"?",
"¿"
]
},
{
"action": "levelSwitch",
"label": "=/<",
"level": 3,
"width": 3
}
],
[
{
"action": "levelSwitch",
"label": "ABC",
"level": 0,
"width": 1.5
},
{
"strings": [
"_"
]
},
{
"strings": [
"/"
]
},
{
"strings": [
" "
],
"width": 3
},
{
"strings": [
","
]
},
{
"strings": [
".",
"…"
]
},
{
"action": "emoji",
"iconName": "face-smile-symbolic"
},
{
"action": "languageMenu",
"iconName": "keyboard-layout-symbolic"
},
{
"action": "hide",
"iconName": "go-down-symbolic"
}
]
]
},
{
"level": "opt+shift",
"mode": "locked",
"rows": [
[
{
"strings": [
"~"
]
},
{
"strings": [
"`"
]
},
{
"strings": [
"|"
]
},
{
"strings": [
"•",
"♪",
"♥",
"♠",
"♦",
"♣"
]
},
{
"strings": [
"√"
]
},
{
"strings": [
"Π",
"π"
]
},
{
"strings": [
"÷"
]
},
{
"strings": [
"×"
]
},
{
"strings": [
"¶",
"§"
]
},
{
"strings": [
"∆"
]
},
{
"iconName": "edit-clear-symbolic",
"keyval": "0xff08",
"width": 1.5
}
],
[
{
"strings": [
"£"
]
},
{
"strings": [
"¢"
]
},
{
"strings": [
"€"
]
},
{
"strings": [
"¥"
]
},
{
"strings": [
"^",
"↑",
"↓",
"←",
"→"
]
},
{
"strings": [
"°",
"",
"″"
]
},
{
"strings": [
"=",
"≠",
"≈",
"∞"
]
},
{
"strings": [
"{"
]
},
{
"strings": [
"}"
]
},
{
"iconName": "keyboard-enter-symbolic",
"keyval": "0xff0d",
"width": 2
}
],
[
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 1.5
},
{
"strings": [
"\\"
]
},
{
"strings": [
"©"
]
},
{
"strings": [
"®"
]
},
{
"strings": [
"™"
]
},
{
"strings": [
"℅"
]
},
{
"strings": [
"["
]
},
{
"strings": [
"]"
]
},
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 3
}
],
[
{
"action": "levelSwitch",
"label": "ABC",
"level": 0,
"width": 1.5
},
{
"strings": [
"<",
"",
"≤",
"«"
]
},
{
"strings": [
">",
"",
"≥",
"»"
]
},
{
"strings": [
" "
],
"width": 3
},
{
"strings": [
","
]
},
{
"strings": [
".",
"…"
]
},
{
"action": "emoji",
"iconName": "face-smile-symbolic"
},
{
"action": "languageMenu",
"iconName": "keyboard-layout-symbolic"
},
{
"action": "hide",
"iconName": "go-down-symbolic"
}
]
]
}
],
"locale": "fil",
"name": "Filipino"
}