Carlos Garnacho d1aa2acef1 keyboard: Add/document "leftOffset" optional property on OSK keys
This optional property defines the offset the a key should have
relative to the previous key (on its left) or the start of the
column if it is the first key. If this property is not
present, the key will be placed with no relative offset.

This for example allows keymaps to explicitly define the padding
of the rows that are not "full" relative to other rows, without
guesswork in the code. It is used for this purpose in the
keymaps/levels/rows that needed it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
2024-02-29 16:34:21 +01:00

725 lines
13 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": [
[
{
"label": "ㅂ",
"strings": [
"q"
]
},
{
"label": "ㅈ",
"strings": [
"w"
]
},
{
"label": "ㄷ",
"strings": [
"e"
]
},
{
"label": "ㄱ",
"strings": [
"r"
]
},
{
"label": "ㅅ",
"strings": [
"t"
]
},
{
"label": "ㅛ",
"strings": [
"y"
]
},
{
"label": "ㅕ",
"strings": [
"u"
]
},
{
"label": "ㅑ",
"strings": [
"i"
]
},
{
"label": "ㅐ",
"strings": [
"o"
]
},
{
"label": "ㅔ",
"strings": [
"p"
]
},
{
"iconName": "edit-clear-symbolic",
"keyval": "0xff08",
"width": 1.5
}
],
[
{
"label": "ㅁ",
"leftOffset": 0.5,
"strings": [
"a"
]
},
{
"label": "ㄴ",
"strings": [
"s"
]
},
{
"label": "ㅇ",
"strings": [
"d"
]
},
{
"label": "ㄹ",
"strings": [
"f"
]
},
{
"label": "ㅎ",
"strings": [
"g"
]
},
{
"label": "ㅗ",
"strings": [
"h"
]
},
{
"label": "ㅓ",
"strings": [
"j"
]
},
{
"label": "ㅏ",
"strings": [
"k"
]
},
{
"label": "ㅣ",
"strings": [
"l"
]
},
{
"iconName": "keyboard-enter-symbolic",
"keyval": "0xff0d",
"width": 2
}
],
[
{
"label": "ㅋ",
"leftOffset": 1,
"strings": [
"z"
]
},
{
"label": "ㅌ",
"strings": [
"x"
]
},
{
"label": "ㅊ",
"strings": [
"c"
]
},
{
"label": "ㅍ",
"strings": [
"v"
]
},
{
"label": "ㅠ",
"strings": [
"b"
]
},
{
"label": "ㅜ",
"strings": [
"n"
]
},
{
"label": "ㅡ",
"strings": [
"m"
]
},
{
"strings": [
","
]
},
{
"strings": [
".",
"#",
"!",
",",
"?",
"-",
":",
"'",
"@"
]
}
],
[
{
"action": "levelSwitch",
"label": "?123",
"level": 2,
"width": 1.5
},
{
"action": "emoji",
"iconName": "face-smile-symbolic",
"width": 1.5
},
{
"strings": [
" "
],
"width": 5
},
{
"action": "languageMenu",
"iconName": "keyboard-layout-symbolic",
"width": 1.5
},
{
"action": "hide",
"iconName": "keyboard-hide-symbolic",
"width": 2
}
]
]
},
{
"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
}
],
[
{
"leftOffset": 0.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": "keyboard-hide-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
}
],
[
{
"leftOffset": 0.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": "keyboard-hide-symbolic"
}
]
]
}
],
"locale": "kr",
"name": "Korean (Hangul)"
}