From 8874f2c24816949db7439b6112a13bf869f13a8a Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 22 Apr 2022 21:04:56 +0200 Subject: [PATCH] data: Add "extended" US layout This is an US layout, but with all extra keys that cause nerdgasms. Part-of: --- data/gnome-shell-osk-layouts.gresource.xml | 1 + data/osk-layouts/us-extended.json | 1051 ++++++++++++++++++++ 2 files changed, 1052 insertions(+) create mode 100644 data/osk-layouts/us-extended.json diff --git a/data/gnome-shell-osk-layouts.gresource.xml b/data/gnome-shell-osk-layouts.gresource.xml index 2b454f374..accfb8eda 100644 --- a/data/gnome-shell-osk-layouts.gresource.xml +++ b/data/gnome-shell-osk-layouts.gresource.xml @@ -56,6 +56,7 @@ ua.json uk.json us.json + us-extended.json vn.json za.json emoji.json diff --git a/data/osk-layouts/us-extended.json b/data/osk-layouts/us-extended.json new file mode 100644 index 000000000..3ce3b7721 --- /dev/null +++ b/data/osk-layouts/us-extended.json @@ -0,0 +1,1051 @@ +{ + "levels": [ + { + "level": "", + "mode": "default", + "rows": [ + [ + { + "keyval": "0xff09", + "label": "Tab", + "width": 1 + }, + { + "strings": [ + "q" + ] + }, + { + "strings": [ + "w" + ] + }, + { + "strings": [ + "e", + "è", + "é", + "ê", + "ë", + "ē" + ] + }, + { + "strings": [ + "r" + ] + }, + { + "strings": [ + "t" + ] + }, + { + "strings": [ + "y" + ] + }, + { + "strings": [ + "u", + "û", + "ü", + "ù", + "ú", + "ū" + ] + }, + { + "strings": [ + "i", + "î", + "ï", + "í", + "ī", + "ì" + ] + }, + { + "strings": [ + "o", + "ô", + "ö", + "ò", + "ó", + "œ", + "ø", + "ō", + "õ" + ] + }, + { + "strings": [ + "p" + ] + }, + { + "iconName": "edit-clear-symbolic", + "action": "delete", + "width": 2 + } + ], + [ + { + "action": "levelSwitch", + "iconName": "keyboard-caps-lock-symbolic", + "level": 1, + "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.5 + } + ], + [ + { + "action": "levelSwitch", + "iconName": "keyboard-shift-symbolic", + "level": 1, + "width": 2 + }, + { + "strings": [ + "z" + ] + }, + { + "strings": [ + "x" + ] + }, + { + "strings": [ + "c", + "ç" + ] + }, + { + "strings": [ + "v" + ] + }, + { + "strings": [ + "b" + ] + }, + { + "strings": [ + "n", + "ñ" + ] + }, + { + "strings": [ + "m" + ] + }, + { + "iconName": "go-up-symbolic", + "keyval": "0xff52" + }, + { + "action": "levelSwitch", + "iconName": "keyboard-shift-symbolic", + "level": 1, + "width": 3 + } + ], + [ + { + "action": "modifier", + "keyval": "0xffe3", + "label": "Ctrl" + }, + { + "action": "levelSwitch", + "label": "?123", + "level": 2 + }, + { + "action": "modifier", + "keyval": "0xffe9", + "label": "Alt" + }, + { + "strings": [ + "," + ] + }, + { + "strings": [ + " " + ], + "width": 2 + }, + { + "strings": [ + ".", + "#", + "!", + ",", + "?", + "-", + ":", + "'", + "@" + ] + }, + { + "action": "emoji", + "iconName": "face-smile-symbolic" + }, + { + "iconName": "go-previous-symbolic", + "keyval": "0xff51" + }, + { + "iconName": "go-down-symbolic", + "keyval": "0xff54" + }, + { + "iconName": "go-next-symbolic", + "keyval": "0xff53" + }, + { + "action": "languageMenu", + "iconName": "keyboard-layout-symbolic" + }, + { + "action": "hide", + "iconName": "keyboard-hide-symbolic" + } + ] + ] + }, + { + "level": "shift", + "mode": "latched", + "rows": [ + [ + { + "keyval": "0xff09", + "label": "Tab", + "width": 1 + }, + { + "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": 2 + } + ], + [ + { + "action": "levelSwitch", + "iconName": "keyboard-caps-lock-symbolic", + "level": 0, + "width": 1.5 + }, + { + "strings": [ + "A", + "À", + "Á", + "Â", + "Ä", + "Æ", + "Ã", + "Å", + "Ā" + ] + }, + { + "strings": [ + "S", + "SS" + ] + }, + { + "strings": [ + "D" + ] + }, + { + "strings": [ + "F" + ] + }, + { + "strings": [ + "G" + ] + }, + { + "strings": [ + "H" + ] + }, + { + "strings": [ + "J" + ] + }, + { + "strings": [ + "K" + ] + }, + { + "strings": [ + "L" + ] + }, + { + "iconName": "keyboard-enter-symbolic", + "keyval": "0xff0d", + "width": 2.5 + } + ], + [ + { + "action": "levelSwitch", + "iconName": "keyboard-shift-symbolic", + "level": 0, + "width": 2 + }, + { + "strings": [ + "Z" + ] + }, + { + "strings": [ + "X" + ] + }, + { + "strings": [ + "C", + "Ç" + ] + }, + { + "strings": [ + "V" + ] + }, + { + "strings": [ + "B" + ] + }, + { + "strings": [ + "N", + "Ñ" + ] + }, + { + "strings": [ + "M" + ] + }, + { + "iconName": "go-up-symbolic", + "keyval": "0xff52" + }, + { + "action": "levelSwitch", + "iconName": "keyboard-shift-symbolic", + "level": 0, + "width": 3 + } + ], + [ + { + "action": "modifier", + "keyval": "0xffe3", + "label": "Ctrl" + }, + { + "action": "levelSwitch", + "label": "?123", + "level": 2 + }, + { + "action": "modifier", + "keyval": "0xffe9", + "label": "Alt" + }, + { + "strings": [ + "," + ] + }, + { + "strings": [ + " " + ], + "width": 2 + }, + { + "strings": [ + ".", + "#", + "!", + ",", + "?", + "-", + ":", + "'", + "@" + ] + }, + { + "action": "emoji", + "iconName": "face-smile-symbolic" + }, + { + "iconName": "go-previous-symbolic", + "keyval": "0xff51" + }, + { + "iconName": "go-down-symbolic", + "keyval": "0xff54" + }, + { + "iconName": "go-next-symbolic", + "keyval": "0xff53" + }, + { + "action": "languageMenu", + "iconName": "keyboard-layout-symbolic" + }, + { + "action": "hide", + "iconName": "keyboard-hide-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": "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 + } + ], + [ + { + "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": "en", + "name": "English United States" +}