32ada34e1d
Drop some code, in favor of a numeric keypad that is driven through the same JSON-based maps. This is also a first use of the "height" key property in the JSON files, for the Enter key. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
84 lines
1.4 KiB
JSON
84 lines
1.4 KiB
JSON
{
|
|
"levels": [
|
|
{
|
|
"level": "",
|
|
"mode": "default",
|
|
"rows": [
|
|
[
|
|
{
|
|
"strings": [
|
|
"7"
|
|
]
|
|
},
|
|
{
|
|
"strings": [
|
|
"8"
|
|
]
|
|
},
|
|
{
|
|
"strings": [
|
|
"9"
|
|
]
|
|
},
|
|
{
|
|
"action": "delete",
|
|
"iconName": "edit-clear-symbolic"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"strings": [
|
|
"4"
|
|
]
|
|
},
|
|
{
|
|
"strings": [
|
|
"5"
|
|
]
|
|
},
|
|
{
|
|
"strings": [
|
|
"6"
|
|
]
|
|
},
|
|
{
|
|
"iconName": "keyboard-enter-symbolic",
|
|
"keyval": "0xff0d",
|
|
"height": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"strings": [
|
|
"1"
|
|
]
|
|
},
|
|
{
|
|
"strings": [
|
|
"2"
|
|
]
|
|
},
|
|
{
|
|
"strings": [
|
|
"3"
|
|
]
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"width": 3,
|
|
"strings": [
|
|
"0"
|
|
]
|
|
},
|
|
{
|
|
"action": "hide",
|
|
"iconName": "keyboard-hide-symbolic"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"name": "Digits"
|
|
}
|