From 2657b5ef1fc4d0dce93132112e1e1dc781b6eb5c Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Mon, 23 Dec 2019 21:32:11 +0000 Subject: [PATCH] terminal: A more fleshed out layout --- data/keyboards/terminal.yaml | 153 +++++++++++++++++++++++++++++++---- 1 file changed, 139 insertions(+), 14 deletions(-) diff --git a/data/keyboards/terminal.yaml b/data/keyboards/terminal.yaml index b6e9ba92..9e8968d0 100644 --- a/data/keyboards/terminal.yaml +++ b/data/keyboards/terminal.yaml @@ -1,34 +1,159 @@ --- -bounds: { x: 0, y: 0.33, width: 360, height: 210 } - outlines: - default: - bounds: { x: 0, y: 0, width: 37.46341, height: 52 } - altline: - bounds: { x: 0, y: 0, width: 48.39024, height: 52 } + default: { width: 35.33, height: 52 } + action: { width: 59, height: 52 } + altline: { width: 52.67, height: 52 } + wide: { width: 59, height: 52 } + spaceline: { width: 140, height: 52 } + special: { width: 44, height: 52 } views: base: - - "PgUp ↑ PgDn" - - "← ↓ →" + - "q w e r t y u i o p" + - "a s d f g h j k l" + - "Shift_L z x c v b n m BackSpace" + - "show_numbers show_actions space preferences Return" + upper: + - "Q W E R T Y U I O P" + - "A S D F G H J K L" + - "Shift_L Z X C V B N M BackSpace" + - "show_numbers preferences space period Return" + numbers: + - "1 2 3 4 5 6 7 8 9 0" + - "@ # $ % & - _ + ( )" + - "show_symbols , \" ' colon ; ! ? BackSpace" + - "show_letters preferences space period Return" + symbols: + - "~ ` | · √ π τ ÷ × ¶" + - "© ® £ € ¥ ^ ° * { }" + - "show_numbers_from_symbols \\ / < > = [ ] BackSpace" + - "show_letters preferences space period Return" + actions: + - "F1 F2 F3 F4 F5 F6" + - "F7 F8 F9 F10 F11 F12" + - "Esc Tab Del PgUp ↑ PgDn" + - "show_letters Home End ← ↓ →" buttons: - PgUp: + Shift_L: + action: + locking: + lock_view: "upper" + unlock_view: "base" outline: "altline" + icon: "key-shift" + BackSpace: + outline: "altline" + icon: "edit-clear-symbolic" + keysym: "BackSpace" + preferences: + action: "show_prefs" + outline: "special" + icon: "keyboard-mode-symbolic" + show_numbers: + action: + set_view: "numbers" + outline: "wide" + label: "123" + show_numbers_from_symbols: + action: + set_view: "numbers" + outline: "altline" + label: "123" + show_letters: + action: + set_view: "base" + outline: "wide" + label: "ABC" + show_symbols: + action: + set_view: "symbols" + outline: "altline" + label: "*/=" + show_actions: + action: + set_view: "actions" + outline: "altline" + label: ">_" + period: + outline: "special" + text: "." + space: + outline: "spaceline" + text: " " + Return: + outline: "wide" + icon: "key-enter" + keysym: "Return" + colon: + text: ":" + F1: + outline: "action" + keysym: "F1" + F2: + outline: "action" + keysym: "F2" + F3: + outline: "action" + keysym: "F3" + F4: + outline: "action" + keysym: "F4" + F5: + outline: "action" + keysym: "F5" + F6: + outline: "action" + keysym: "F6" + F7: + outline: "action" + keysym: "F7" + F8: + outline: "action" + keysym: "F8" + F9: + outline: "action" + keysym: "F9" + F10: + outline: "action" + keysym: "F10" + F11: + outline: "action" + keysym: "F11" + F12: + outline: "action" + keysym: "F12" + Esc: + outline: "action" + keysym: "Escape" + Tab: + outline: "action" + keysym: "Tab" + Del: + outline: "action" + keysym: "Delete" + Home: + outline: "action" + keysym: "Home" + End: + outline: "action" + keysym: "End" + PgUp: + outline: "action" keysym: "Page_Up" PgDn: - outline: "altline" + outline: "action" keysym: "Page_Down" "↑": - outline: "altline" + outline: "action" keysym: "Up" "↓": - outline: "altline" + outline: "action" keysym: "Down" "←": - outline: "altline" + outline: "action" keysym: "Left" "→": - outline: "altline" + outline: "action" keysym: "Right"