From 53d6918d8ac92f47e5ff57bfbabe701317fd4926 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 11 May 2023 17:51:20 -0700 Subject: [PATCH 1/6] add matrix_diagram.md --- keyboards/xelus/kangaroo/matrix_diagram.md | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 keyboards/xelus/kangaroo/matrix_diagram.md diff --git a/keyboards/xelus/kangaroo/matrix_diagram.md b/keyboards/xelus/kangaroo/matrix_diagram.md new file mode 100644 index 000000000000..8fbc519ca05d --- /dev/null +++ b/keyboards/xelus/kangaroo/matrix_diagram.md @@ -0,0 +1,24 @@ +# Matrix Diagram for Xelus Kangaroo (Rev 1.0 and 2.0) + +``` + ┌───┬───┬───┬───┐┌───┬───┬───┐┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ + │00 │10 │01 │11 ││02 │12 │03 ││13 │ │04 │14 │05 │15 │ │06 │16 │07 │17 │ │08 │18 │09 │19 │ + └───┴───┴───┴───┘└───┴───┴───┘└───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ + ┌───┬───┬───┬───┐┌───┬───┬───┐┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───────┐ + │20 │30 │21 │31 ││22 │32 │23 ││33 │24 │34 │25 │35 │26 │36 │27 │37 │28 │38 │29 │39 │2A │0A │ │2A │ +┌───┐ ├───┼───┼───┼───┤├───┼───┼───┤├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ └───────┘ +│ │ │40 │50 │41 │51 ││42 │52 │43 ││53 │44 │54 │45 │55 │46 │56 │47 │57 │48 │58 │49 │59 │4A │ 2u Backspace +│60 │ ├───┼───┼───┼───┤└───┴───┴───┘├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ +│ │ │60 │70 │61 │71 │ │73 │64 │74 │65 │75 │66 │76 │67 │77 │68 │78 │69 │79 │ +├───┤ ├───┼───┼───┼───┤ ┌───┐ ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ +│ │ │80 │90 │81 │91 │ │92 │ │93 │84 │94 │85 │95 │86 │96 │87 │97 │88 │98 │89 │99 │ +│A0 │ ├───┼───┼───┼───┤┌───┼───┼───┐├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴───┤ +│ │ │A0 │B0 │A1 │B1 ││A2 │B2 │A3 ││B3 │A4 │B4 │B6 │A8 │B8 │A9 │B9 │ +└───┘ └───┴───┴───┴───┘└───┴───┴───┘└────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ + ┌───────┐ ┌──────────┐ + │B1 │ 2u Numpad Zero 2.75 RShift │89 │ + └───────┘ └──────────┘ + ┌─────┬───┬─────┬───────────────────────────┬─────┬───┬─────┐ + │B3 │A4 │B4 │B6 │B8 │A9 │B9 │ Tsangan/WKL + └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ +``` From 2b2ab8d16193c108e061c22e53091f334b931e0b Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 11 May 2023 17:56:20 -0700 Subject: [PATCH 2/6] info.json: apply friendly formatting --- keyboards/xelus/kangaroo/info.json | 264 ++++++++++++++--------------- 1 file changed, 132 insertions(+), 132 deletions(-) diff --git a/keyboards/xelus/kangaroo/info.json b/keyboards/xelus/kangaroo/info.json index 27ec9fc7694d..e12474912255 100644 --- a/keyboards/xelus/kangaroo/info.json +++ b/keyboards/xelus/kangaroo/info.json @@ -9,138 +9,138 @@ "layouts": { "LAYOUT_all": { "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [1, 0], "x": 1, "y": 0}, - {"matrix": [0, 1], "x": 2, "y": 0}, - {"matrix": [1, 1], "x": 3, "y": 0}, - - {"matrix": [0, 2], "x": 4.25, "y": 0}, - {"matrix": [1, 2], "x": 5.25, "y": 0}, - {"matrix": [0, 3], "x": 6.25, "y": 0}, - - {"matrix": [1, 3], "x": 7.5, "y": 0}, - - {"matrix": [0, 4], "x": 9.5, "y": 0}, - {"matrix": [1, 4], "x": 10.5, "y": 0}, - {"matrix": [0, 5], "x": 11.5, "y": 0}, - {"matrix": [1, 5], "x": 12.5, "y": 0}, - - {"matrix": [0, 6], "x": 14, "y": 0}, - {"matrix": [1, 6], "x": 15, "y": 0}, - {"matrix": [0, 7], "x": 16, "y": 0}, - {"matrix": [1, 7], "x": 17, "y": 0}, - - {"matrix": [0, 8], "x": 18.5, "y": 0}, - {"matrix": [1, 8], "x": 19.5, "y": 0}, - {"matrix": [0, 9], "x": 20.5, "y": 0}, - {"matrix": [1, 9], "x": 21.5, "y": 0}, - - {"matrix": [2, 0], "x": 0, "y": 1.25}, - {"matrix": [3, 0], "x": 1, "y": 1.25}, - {"matrix": [2, 1], "x": 2, "y": 1.25}, - {"matrix": [3, 1], "x": 3, "y": 1.25}, - - {"matrix": [2, 2], "x": 4.25, "y": 1.25}, - {"matrix": [3, 2], "x": 5.25, "y": 1.25}, - {"matrix": [2, 3], "x": 6.25, "y": 1.25}, - - {"matrix": [3, 3], "x": 7.5, "y": 1.25}, - {"matrix": [2, 4], "x": 8.5, "y": 1.25}, - {"matrix": [3, 4], "x": 9.5, "y": 1.25}, - {"matrix": [2, 5], "x": 10.5, "y": 1.25}, - {"matrix": [3, 5], "x": 11.5, "y": 1.25}, - {"matrix": [2, 6], "x": 12.5, "y": 1.25}, - {"matrix": [3, 6], "x": 13.5, "y": 1.25}, - {"matrix": [2, 7], "x": 14.5, "y": 1.25}, - {"matrix": [3, 7], "x": 15.5, "y": 1.25}, - {"matrix": [2, 8], "x": 16.5, "y": 1.25}, - {"matrix": [3, 8], "x": 17.5, "y": 1.25}, - {"matrix": [2, 9], "x": 18.5, "y": 1.25}, - {"matrix": [3, 9], "x": 19.5, "y": 1.25}, - {"matrix": [2, 10], "x": 20.5, "y": 1.25}, - {"matrix": [0, 10], "x": 21.5, "y": 1.25}, - - {"matrix": [4, 0], "x": 0, "y": 2.25}, - {"matrix": [5, 0], "x": 1, "y": 2.25}, - {"matrix": [4, 1], "x": 2, "y": 2.25}, - {"matrix": [5, 1], "x": 3, "y": 2.25}, - - {"matrix": [4, 2], "x": 4.25, "y": 2.25}, - {"matrix": [5, 2], "x": 5.25, "y": 2.25}, - {"matrix": [4, 3], "x": 6.25, "y": 2.25}, - - {"matrix": [5, 3], "x": 7.5, "y": 2.25, "w": 1.5}, - {"matrix": [4, 4], "x": 9, "y": 2.25}, - {"matrix": [5, 4], "x": 10, "y": 2.25}, - {"matrix": [4, 5], "x": 11, "y": 2.25}, - {"matrix": [5, 5], "x": 12, "y": 2.25}, - {"matrix": [4, 6], "x": 13, "y": 2.25}, - {"matrix": [5, 6], "x": 14, "y": 2.25}, - {"matrix": [4, 7], "x": 15, "y": 2.25}, - {"matrix": [5, 7], "x": 16, "y": 2.25}, - {"matrix": [4, 8], "x": 17, "y": 2.25}, - {"matrix": [5, 8], "x": 18, "y": 2.25}, - {"matrix": [4, 9], "x": 19, "y": 2.25}, - {"matrix": [5, 9], "x": 20, "y": 2.25}, - {"matrix": [4, 10], "x": 21, "y": 2.25, "w": 1.5}, - - {"matrix": [6, 0], "x": 0, "y": 3.25}, - {"matrix": [7, 0], "x": 1, "y": 3.25}, - {"matrix": [6, 1], "x": 2, "y": 3.25}, - {"matrix": [7, 1], "x": 3, "y": 3.25}, - - {"matrix": [7, 3], "x": 7.5, "y": 3.25, "w": 1.75}, - {"matrix": [6, 4], "x": 9.25, "y": 3.25}, - {"matrix": [7, 4], "x": 10.25, "y": 3.25}, - {"matrix": [6, 5], "x": 11.25, "y": 3.25}, - {"matrix": [7, 5], "x": 12.25, "y": 3.25}, - {"matrix": [6, 6], "x": 13.25, "y": 3.25}, - {"matrix": [7, 6], "x": 14.25, "y": 3.25}, - {"matrix": [6, 7], "x": 15.25, "y": 3.25}, - {"matrix": [7, 7], "x": 16.25, "y": 3.25}, - {"matrix": [6, 8], "x": 17.25, "y": 3.25}, - {"matrix": [7, 8], "x": 18.25, "y": 3.25}, - {"matrix": [6, 9], "x": 19.25, "y": 3.25}, - {"matrix": [7, 9], "x": 20.25, "y": 3.25, "w": 2.25}, - - {"matrix": [8, 0], "x": 0, "y": 4.25}, - {"matrix": [9, 0], "x": 1, "y": 4.25}, - {"matrix": [8, 1], "x": 2, "y": 4.25}, - {"matrix": [9, 1], "x": 3, "y": 4.25}, - - {"matrix": [9, 2], "x": 5.25, "y": 4.25}, - - {"matrix": [9, 3], "x": 7.5, "y": 4.25, "w": 2.25}, - {"matrix": [8, 4], "x": 9.75, "y": 4.25}, - {"matrix": [9, 4], "x": 10.75, "y": 4.25}, - {"matrix": [8, 5], "x": 11.75, "y": 4.25}, - {"matrix": [9, 5], "x": 12.75, "y": 4.25}, - {"matrix": [8, 6], "x": 13.75, "y": 4.25}, - {"matrix": [9, 6], "x": 14.75, "y": 4.25}, - {"matrix": [8, 7], "x": 15.75, "y": 4.25}, - {"matrix": [9, 7], "x": 16.75, "y": 4.25}, - {"matrix": [8, 8], "x": 17.75, "y": 4.25}, - {"matrix": [9, 8], "x": 18.75, "y": 4.25}, - {"matrix": [8, 9], "x": 19.75, "y": 4.25, "w": 1.75}, - {"matrix": [9, 9], "x": 21.5, "y": 4.25}, - - {"matrix": [10, 0], "x": 0, "y": 5.25}, - {"matrix": [11, 0], "x": 1, "y": 5.25}, - {"matrix": [10, 1], "x": 2, "y": 5.25}, - {"matrix": [11, 1], "x": 3, "y": 5.25}, - - {"matrix": [10, 2], "x": 4.25, "y": 5.25}, - {"matrix": [11, 2], "x": 5.25, "y": 5.25}, - {"matrix": [10, 3], "x": 6.25, "y": 5.25}, - - {"matrix": [11, 3], "x": 7.5, "y": 5.25, "w": 1.25}, - {"matrix": [10, 4], "x": 8.75, "y": 5.25, "w": 1.25}, - {"matrix": [11, 4], "x": 10, "y": 5.25, "w": 1.25}, - {"matrix": [11, 6], "x": 11.25, "y": 5.25, "w": 6.25}, - {"matrix": [10, 8], "x": 17.5, "y": 5.25, "w": 1.25}, - {"matrix": [11, 8], "x": 18.75, "y": 5.25, "w": 1.25}, - {"matrix": [10, 9], "x": 20, "y": 5.25, "w": 1.25}, - {"matrix": [11, 9], "x": 21.25, "y": 5.25, "w": 1.25} + {"label": "Mute", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "Volume Down", "matrix": [1, 0], "x": 1, "y": 0}, + {"label": "Volume Up", "matrix": [0, 1], "x": 2, "y": 0}, + {"label": "\u25bd", "matrix": [1, 1], "x": 3, "y": 0}, + + {"label": "Print Screen", "matrix": [0, 2], "x": 4.25, "y": 0}, + {"label": "Scroll Lock", "matrix": [1, 2], "x": 5.25, "y": 0}, + {"label": "Pause", "matrix": [0, 3], "x": 6.25, "y": 0}, + + {"label": "Esc", "matrix": [1, 3], "x": 7.5, "y": 0}, + + {"label": "F1", "matrix": [0, 4], "x": 9.5, "y": 0}, + {"label": "F2", "matrix": [1, 4], "x": 10.5, "y": 0}, + {"label": "F3", "matrix": [0, 5], "x": 11.5, "y": 0}, + {"label": "F4", "matrix": [1, 5], "x": 12.5, "y": 0}, + + {"label": "F5", "matrix": [0, 6], "x": 14, "y": 0}, + {"label": "F6", "matrix": [1, 6], "x": 15, "y": 0}, + {"label": "F7", "matrix": [0, 7], "x": 16, "y": 0}, + {"label": "F8", "matrix": [1, 7], "x": 17, "y": 0}, + + {"label": "F9", "matrix": [0, 8], "x": 18.5, "y": 0}, + {"label": "F10", "matrix": [1, 8], "x": 19.5, "y": 0}, + {"label": "F11", "matrix": [0, 9], "x": 20.5, "y": 0}, + {"label": "F12", "matrix": [1, 9], "x": 21.5, "y": 0}, + + {"label": "Num Lock", "matrix": [2, 0], "x": 0, "y": 1.25}, + {"label": "/", "matrix": [3, 0], "x": 1, "y": 1.25}, + {"label": "*", "matrix": [2, 1], "x": 2, "y": 1.25}, + {"label": "-", "matrix": [3, 1], "x": 3, "y": 1.25}, + + {"label": "Insert", "matrix": [2, 2], "x": 4.25, "y": 1.25}, + {"label": "Home", "matrix": [3, 2], "x": 5.25, "y": 1.25}, + {"label": "Page Up", "matrix": [2, 3], "x": 6.25, "y": 1.25}, + + {"label": "`", "matrix": [3, 3], "x": 7.5, "y": 1.25}, + {"label": "1", "matrix": [2, 4], "x": 8.5, "y": 1.25}, + {"label": "2", "matrix": [3, 4], "x": 9.5, "y": 1.25}, + {"label": "3", "matrix": [2, 5], "x": 10.5, "y": 1.25}, + {"label": "4", "matrix": [3, 5], "x": 11.5, "y": 1.25}, + {"label": "5", "matrix": [2, 6], "x": 12.5, "y": 1.25}, + {"label": "6", "matrix": [3, 6], "x": 13.5, "y": 1.25}, + {"label": "7", "matrix": [2, 7], "x": 14.5, "y": 1.25}, + {"label": "8", "matrix": [3, 7], "x": 15.5, "y": 1.25}, + {"label": "9", "matrix": [2, 8], "x": 16.5, "y": 1.25}, + {"label": "0", "matrix": [3, 8], "x": 17.5, "y": 1.25}, + {"label": "-", "matrix": [2, 9], "x": 18.5, "y": 1.25}, + {"label": "=", "matrix": [3, 9], "x": 19.5, "y": 1.25}, + {"label": "Backspace", "matrix": [2, 10], "x": 20.5, "y": 1.25}, + {"label": "Backspace", "matrix": [0, 10], "x": 21.5, "y": 1.25}, + + {"label": "+", "matrix": [4, 0], "x": 0, "y": 2.25}, + {"label": "7", "matrix": [5, 0], "x": 1, "y": 2.25}, + {"label": "8", "matrix": [4, 1], "x": 2, "y": 2.25}, + {"label": "9", "matrix": [5, 1], "x": 3, "y": 2.25}, + + {"label": "Delete", "matrix": [4, 2], "x": 4.25, "y": 2.25}, + {"label": "End", "matrix": [5, 2], "x": 5.25, "y": 2.25}, + {"label": "Page Down", "matrix": [4, 3], "x": 6.25, "y": 2.25}, + + {"label": "Tab", "matrix": [5, 3], "x": 7.5, "y": 2.25, "w": 1.5}, + {"label": "Q", "matrix": [4, 4], "x": 9, "y": 2.25}, + {"label": "W", "matrix": [5, 4], "x": 10, "y": 2.25}, + {"label": "E", "matrix": [4, 5], "x": 11, "y": 2.25}, + {"label": "R", "matrix": [5, 5], "x": 12, "y": 2.25}, + {"label": "T", "matrix": [4, 6], "x": 13, "y": 2.25}, + {"label": "Y", "matrix": [5, 6], "x": 14, "y": 2.25}, + {"label": "U", "matrix": [4, 7], "x": 15, "y": 2.25}, + {"label": "I", "matrix": [5, 7], "x": 16, "y": 2.25}, + {"label": "O", "matrix": [4, 8], "x": 17, "y": 2.25}, + {"label": "P", "matrix": [5, 8], "x": 18, "y": 2.25}, + {"label": "[", "matrix": [4, 9], "x": 19, "y": 2.25}, + {"label": "]", "matrix": [5, 9], "x": 20, "y": 2.25}, + {"label": "\\", "matrix": [4, 10], "x": 21, "y": 2.25, "w": 1.5}, + + {"label": "+", "matrix": [6, 0], "x": 0, "y": 3.25}, + {"label": "4", "matrix": [7, 0], "x": 1, "y": 3.25}, + {"label": "5", "matrix": [6, 1], "x": 2, "y": 3.25}, + {"label": "6", "matrix": [7, 1], "x": 3, "y": 3.25}, + + {"label": "Caps Lock", "matrix": [7, 3], "x": 7.5, "y": 3.25, "w": 1.75}, + {"label": "A", "matrix": [6, 4], "x": 9.25, "y": 3.25}, + {"label": "S", "matrix": [7, 4], "x": 10.25, "y": 3.25}, + {"label": "D", "matrix": [6, 5], "x": 11.25, "y": 3.25}, + {"label": "F", "matrix": [7, 5], "x": 12.25, "y": 3.25}, + {"label": "G", "matrix": [6, 6], "x": 13.25, "y": 3.25}, + {"label": "H", "matrix": [7, 6], "x": 14.25, "y": 3.25}, + {"label": "J", "matrix": [6, 7], "x": 15.25, "y": 3.25}, + {"label": "K", "matrix": [7, 7], "x": 16.25, "y": 3.25}, + {"label": "L", "matrix": [6, 8], "x": 17.25, "y": 3.25}, + {"label": ";", "matrix": [7, 8], "x": 18.25, "y": 3.25}, + {"label": "'", "matrix": [6, 9], "x": 19.25, "y": 3.25}, + {"label": "Enter", "matrix": [7, 9], "x": 20.25, "y": 3.25, "w": 2.25}, + + {"label": "Enter", "matrix": [8, 0], "x": 0, "y": 4.25}, + {"label": "1", "matrix": [9, 0], "x": 1, "y": 4.25}, + {"label": "2", "matrix": [8, 1], "x": 2, "y": 4.25}, + {"label": "3", "matrix": [9, 1], "x": 3, "y": 4.25}, + + {"label": "\u2191", "matrix": [9, 2], "x": 5.25, "y": 4.25}, + + {"label": "Shift", "matrix": [9, 3], "x": 7.5, "y": 4.25, "w": 2.25}, + {"label": "Z", "matrix": [8, 4], "x": 9.75, "y": 4.25}, + {"label": "X", "matrix": [9, 4], "x": 10.75, "y": 4.25}, + {"label": "C", "matrix": [8, 5], "x": 11.75, "y": 4.25}, + {"label": "V", "matrix": [9, 5], "x": 12.75, "y": 4.25}, + {"label": "B", "matrix": [8, 6], "x": 13.75, "y": 4.25}, + {"label": "N", "matrix": [9, 6], "x": 14.75, "y": 4.25}, + {"label": "M", "matrix": [8, 7], "x": 15.75, "y": 4.25}, + {"label": ",", "matrix": [9, 7], "x": 16.75, "y": 4.25}, + {"label": ".", "matrix": [8, 8], "x": 17.75, "y": 4.25}, + {"label": "/", "matrix": [9, 8], "x": 18.75, "y": 4.25}, + {"label": "Shift", "matrix": [8, 9], "x": 19.75, "y": 4.25, "w": 1.75}, + {"label": "Fn", "matrix": [9, 9], "x": 21.5, "y": 4.25}, + + {"label": "Enter", "matrix": [10, 0], "x": 0, "y": 5.25}, + {"label": ".", "matrix": [11, 0], "x": 1, "y": 5.25}, + {"label": "0", "matrix": [10, 1], "x": 2, "y": 5.25}, + {"label": "0", "matrix": [11, 1], "x": 3, "y": 5.25}, + + {"label": "\u2190", "matrix": [10, 2], "x": 4.25, "y": 5.25}, + {"label": "\u2193", "matrix": [11, 2], "x": 5.25, "y": 5.25}, + {"label": "\u2192", "matrix": [10, 3], "x": 6.25, "y": 5.25}, + + {"label": "Ctrl", "matrix": [11, 3], "x": 7.5, "y": 5.25, "w": 1.25}, + {"label": "GUI", "matrix": [10, 4], "x": 8.75, "y": 5.25, "w": 1.25}, + {"label": "Alt", "matrix": [11, 4], "x": 10, "y": 5.25, "w": 1.25}, + {"label": "Space", "matrix": [11, 6], "x": 11.25, "y": 5.25, "w": 6.25}, + {"label": "Alt", "matrix": [10, 8], "x": 17.5, "y": 5.25, "w": 1.25}, + {"label": "GUI", "matrix": [11, 8], "x": 18.75, "y": 5.25, "w": 1.25}, + {"label": "Menu", "matrix": [10, 9], "x": 20, "y": 5.25, "w": 1.25}, + {"label": "Ctrl", "matrix": [11, 9], "x": 21.25, "y": 5.25, "w": 1.25} ] } } From 535e987fe22f5bc1806a2250b15f07c2655bb63f Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 11 May 2023 18:00:37 -0700 Subject: [PATCH 3/6] rename LAYOUT_all to LAYOUT_ansi_split_bs_rshift --- keyboards/xelus/kangaroo/info.json | 5 ++++- keyboards/xelus/kangaroo/keymaps/default/keymap.c | 4 ++-- keyboards/xelus/kangaroo/keymaps/via/keymap.c | 8 ++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/keyboards/xelus/kangaroo/info.json b/keyboards/xelus/kangaroo/info.json index e12474912255..101a60af7239 100644 --- a/keyboards/xelus/kangaroo/info.json +++ b/keyboards/xelus/kangaroo/info.json @@ -6,8 +6,11 @@ "vid": "0x5845", "pid": "0x524F" }, + "layout_aliases": { + "LAYOUT_all": "LAYOUT_ansi_split_bs_rshift" + }, "layouts": { - "LAYOUT_all": { + "LAYOUT_ansi_split_bs_rshift": { "layout": [ {"label": "Mute", "matrix": [0, 0], "x": 0, "y": 0}, {"label": "Volume Down", "matrix": [1, 0], "x": 1, "y": 0}, diff --git a/keyboards/xelus/kangaroo/keymaps/default/keymap.c b/keyboards/xelus/kangaroo/keymaps/default/keymap.c index a84cf0a305c2..aab73c95014a 100644 --- a/keyboards/xelus/kangaroo/keymaps/default/keymap.c +++ b/keyboards/xelus/kangaroo/keymaps/default/keymap.c @@ -17,7 +17,7 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( + [0] = LAYOUT_ansi_split_bs_rshift( KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, KC_INS, KC_HOME, KC_PGUP, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_PPLS, KC_P7, KC_P8, KC_P9, KC_DEL, KC_END, KC_PGDN, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, @@ -25,7 +25,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_PENT, KC_P1, KC_P2, KC_P3, KC_UP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_PENT, KC_PDOT, KC_P0, KC_P0, KC_LEFT, KC_DOWN, KC_RGHT, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL), - [1] = LAYOUT_all( + [1] = LAYOUT_ansi_split_bs_rshift( QK_BOOT , KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, diff --git a/keyboards/xelus/kangaroo/keymaps/via/keymap.c b/keyboards/xelus/kangaroo/keymaps/via/keymap.c index 4884b501ce7d..a14a6b5b624c 100644 --- a/keyboards/xelus/kangaroo/keymaps/via/keymap.c +++ b/keyboards/xelus/kangaroo/keymaps/via/keymap.c @@ -17,7 +17,7 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( + [0] = LAYOUT_ansi_split_bs_rshift( KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, KC_INS, KC_HOME, KC_PGUP, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_PPLS, KC_P7, KC_P8, KC_P9, KC_DEL, KC_END, KC_PGDN, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, @@ -25,7 +25,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_PENT, KC_P1, KC_P2, KC_P3, KC_UP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_PENT, KC_PDOT, KC_P0, KC_P0, KC_LEFT, KC_DOWN, KC_RGHT, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL), - [1] = LAYOUT_all( + [1] = LAYOUT_ansi_split_bs_rshift( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, @@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - [2] = LAYOUT_all( + [2] = LAYOUT_ansi_split_bs_rshift( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, @@ -41,7 +41,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - [3] = LAYOUT_all( + [3] = LAYOUT_ansi_split_bs_rshift( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, From bafff64fafa9801c2a08c1058da1b7c9ae8541fc Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 11 May 2023 18:01:36 -0700 Subject: [PATCH 4/6] add LAYOUT_ansi --- keyboards/xelus/kangaroo/info.json | 134 +++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) diff --git a/keyboards/xelus/kangaroo/info.json b/keyboards/xelus/kangaroo/info.json index 101a60af7239..00f42d354956 100644 --- a/keyboards/xelus/kangaroo/info.json +++ b/keyboards/xelus/kangaroo/info.json @@ -10,6 +10,140 @@ "LAYOUT_all": "LAYOUT_ansi_split_bs_rshift" }, "layouts": { + "LAYOUT_ansi": { + "layout": [ + {"label": "Mute", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "Volume Down", "matrix": [1, 0], "x": 1, "y": 0}, + {"label": "Volume Up", "matrix": [0, 1], "x": 2, "y": 0}, + {"label": "\u25bd", "matrix": [1, 1], "x": 3, "y": 0}, + + {"label": "Print Screen", "matrix": [0, 2], "x": 4.25, "y": 0}, + {"label": "Scroll Lock", "matrix": [1, 2], "x": 5.25, "y": 0}, + {"label": "Pause", "matrix": [0, 3], "x": 6.25, "y": 0}, + + {"label": "Esc", "matrix": [1, 3], "x": 7.5, "y": 0}, + + {"label": "F1", "matrix": [0, 4], "x": 9.5, "y": 0}, + {"label": "F2", "matrix": [1, 4], "x": 10.5, "y": 0}, + {"label": "F3", "matrix": [0, 5], "x": 11.5, "y": 0}, + {"label": "F4", "matrix": [1, 5], "x": 12.5, "y": 0}, + + {"label": "F5", "matrix": [0, 6], "x": 14, "y": 0}, + {"label": "F6", "matrix": [1, 6], "x": 15, "y": 0}, + {"label": "F7", "matrix": [0, 7], "x": 16, "y": 0}, + {"label": "F8", "matrix": [1, 7], "x": 17, "y": 0}, + + {"label": "F9", "matrix": [0, 8], "x": 18.5, "y": 0}, + {"label": "F10", "matrix": [1, 8], "x": 19.5, "y": 0}, + {"label": "F11", "matrix": [0, 9], "x": 20.5, "y": 0}, + {"label": "F12", "matrix": [1, 9], "x": 21.5, "y": 0}, + + {"label": "Num Lock", "matrix": [2, 0], "x": 0, "y": 1.25}, + {"label": "/", "matrix": [3, 0], "x": 1, "y": 1.25}, + {"label": "*", "matrix": [2, 1], "x": 2, "y": 1.25}, + {"label": "-", "matrix": [3, 1], "x": 3, "y": 1.25}, + + {"label": "Insert", "matrix": [2, 2], "x": 4.25, "y": 1.25}, + {"label": "Home", "matrix": [3, 2], "x": 5.25, "y": 1.25}, + {"label": "Page Up", "matrix": [2, 3], "x": 6.25, "y": 1.25}, + + {"label": "`", "matrix": [3, 3], "x": 7.5, "y": 1.25}, + {"label": "1", "matrix": [2, 4], "x": 8.5, "y": 1.25}, + {"label": "2", "matrix": [3, 4], "x": 9.5, "y": 1.25}, + {"label": "3", "matrix": [2, 5], "x": 10.5, "y": 1.25}, + {"label": "4", "matrix": [3, 5], "x": 11.5, "y": 1.25}, + {"label": "5", "matrix": [2, 6], "x": 12.5, "y": 1.25}, + {"label": "6", "matrix": [3, 6], "x": 13.5, "y": 1.25}, + {"label": "7", "matrix": [2, 7], "x": 14.5, "y": 1.25}, + {"label": "8", "matrix": [3, 7], "x": 15.5, "y": 1.25}, + {"label": "9", "matrix": [2, 8], "x": 16.5, "y": 1.25}, + {"label": "0", "matrix": [3, 8], "x": 17.5, "y": 1.25}, + {"label": "-", "matrix": [2, 9], "x": 18.5, "y": 1.25}, + {"label": "=", "matrix": [3, 9], "x": 19.5, "y": 1.25}, + {"label": "Backspace", "matrix": [2, 10], "x": 20.5, "y": 1.25, "w": 2}, + + {"label": "+", "matrix": [4, 0], "x": 0, "y": 2.25}, + {"label": "7", "matrix": [5, 0], "x": 1, "y": 2.25}, + {"label": "8", "matrix": [4, 1], "x": 2, "y": 2.25}, + {"label": "9", "matrix": [5, 1], "x": 3, "y": 2.25}, + + {"label": "Delete", "matrix": [4, 2], "x": 4.25, "y": 2.25}, + {"label": "End", "matrix": [5, 2], "x": 5.25, "y": 2.25}, + {"label": "Page Down", "matrix": [4, 3], "x": 6.25, "y": 2.25}, + + {"label": "Tab", "matrix": [5, 3], "x": 7.5, "y": 2.25, "w": 1.5}, + {"label": "Q", "matrix": [4, 4], "x": 9, "y": 2.25}, + {"label": "W", "matrix": [5, 4], "x": 10, "y": 2.25}, + {"label": "E", "matrix": [4, 5], "x": 11, "y": 2.25}, + {"label": "R", "matrix": [5, 5], "x": 12, "y": 2.25}, + {"label": "T", "matrix": [4, 6], "x": 13, "y": 2.25}, + {"label": "Y", "matrix": [5, 6], "x": 14, "y": 2.25}, + {"label": "U", "matrix": [4, 7], "x": 15, "y": 2.25}, + {"label": "I", "matrix": [5, 7], "x": 16, "y": 2.25}, + {"label": "O", "matrix": [4, 8], "x": 17, "y": 2.25}, + {"label": "P", "matrix": [5, 8], "x": 18, "y": 2.25}, + {"label": "[", "matrix": [4, 9], "x": 19, "y": 2.25}, + {"label": "]", "matrix": [5, 9], "x": 20, "y": 2.25}, + {"label": "\\", "matrix": [4, 10], "x": 21, "y": 2.25, "w": 1.5}, + + {"label": "+", "matrix": [6, 0], "x": 0, "y": 3.25}, + {"label": "4", "matrix": [7, 0], "x": 1, "y": 3.25}, + {"label": "5", "matrix": [6, 1], "x": 2, "y": 3.25}, + {"label": "6", "matrix": [7, 1], "x": 3, "y": 3.25}, + + {"label": "Caps Lock", "matrix": [7, 3], "x": 7.5, "y": 3.25, "w": 1.75}, + {"label": "A", "matrix": [6, 4], "x": 9.25, "y": 3.25}, + {"label": "S", "matrix": [7, 4], "x": 10.25, "y": 3.25}, + {"label": "D", "matrix": [6, 5], "x": 11.25, "y": 3.25}, + {"label": "F", "matrix": [7, 5], "x": 12.25, "y": 3.25}, + {"label": "G", "matrix": [6, 6], "x": 13.25, "y": 3.25}, + {"label": "H", "matrix": [7, 6], "x": 14.25, "y": 3.25}, + {"label": "J", "matrix": [6, 7], "x": 15.25, "y": 3.25}, + {"label": "K", "matrix": [7, 7], "x": 16.25, "y": 3.25}, + {"label": "L", "matrix": [6, 8], "x": 17.25, "y": 3.25}, + {"label": ";", "matrix": [7, 8], "x": 18.25, "y": 3.25}, + {"label": "'", "matrix": [6, 9], "x": 19.25, "y": 3.25}, + {"label": "Enter", "matrix": [7, 9], "x": 20.25, "y": 3.25, "w": 2.25}, + + {"label": "Enter", "matrix": [8, 0], "x": 0, "y": 4.25}, + {"label": "1", "matrix": [9, 0], "x": 1, "y": 4.25}, + {"label": "2", "matrix": [8, 1], "x": 2, "y": 4.25}, + {"label": "3", "matrix": [9, 1], "x": 3, "y": 4.25}, + + {"label": "\u2191", "matrix": [9, 2], "x": 5.25, "y": 4.25}, + + {"label": "Shift", "matrix": [9, 3], "x": 7.5, "y": 4.25, "w": 2.25}, + {"label": "Z", "matrix": [8, 4], "x": 9.75, "y": 4.25}, + {"label": "X", "matrix": [9, 4], "x": 10.75, "y": 4.25}, + {"label": "C", "matrix": [8, 5], "x": 11.75, "y": 4.25}, + {"label": "V", "matrix": [9, 5], "x": 12.75, "y": 4.25}, + {"label": "B", "matrix": [8, 6], "x": 13.75, "y": 4.25}, + {"label": "N", "matrix": [9, 6], "x": 14.75, "y": 4.25}, + {"label": "M", "matrix": [8, 7], "x": 15.75, "y": 4.25}, + {"label": ",", "matrix": [9, 7], "x": 16.75, "y": 4.25}, + {"label": ".", "matrix": [8, 8], "x": 17.75, "y": 4.25}, + {"label": "/", "matrix": [9, 8], "x": 18.75, "y": 4.25}, + {"label": "Shift", "matrix": [8, 9], "x": 19.75, "y": 4.25, "w": 2.75}, + + {"label": "Enter", "matrix": [10, 0], "x": 0, "y": 5.25}, + {"label": ".", "matrix": [11, 0], "x": 1, "y": 5.25}, + {"label": "0", "matrix": [10, 1], "x": 2, "y": 5.25}, + {"label": "0", "matrix": [11, 1], "x": 3, "y": 5.25}, + + {"label": "\u2190", "matrix": [10, 2], "x": 4.25, "y": 5.25}, + {"label": "\u2193", "matrix": [11, 2], "x": 5.25, "y": 5.25}, + {"label": "\u2192", "matrix": [10, 3], "x": 6.25, "y": 5.25}, + + {"label": "Ctrl", "matrix": [11, 3], "x": 7.5, "y": 5.25, "w": 1.25}, + {"label": "GUI", "matrix": [10, 4], "x": 8.75, "y": 5.25, "w": 1.25}, + {"label": "Alt", "matrix": [11, 4], "x": 10, "y": 5.25, "w": 1.25}, + {"label": "Space", "matrix": [11, 6], "x": 11.25, "y": 5.25, "w": 6.25}, + {"label": "Alt", "matrix": [10, 8], "x": 17.5, "y": 5.25, "w": 1.25}, + {"label": "GUI", "matrix": [11, 8], "x": 18.75, "y": 5.25, "w": 1.25}, + {"label": "Menu", "matrix": [10, 9], "x": 20, "y": 5.25, "w": 1.25}, + {"label": "Ctrl", "matrix": [11, 9], "x": 21.25, "y": 5.25, "w": 1.25} + ] + }, "LAYOUT_ansi_split_bs_rshift": { "layout": [ {"label": "Mute", "matrix": [0, 0], "x": 0, "y": 0}, From 34adb51e2d066a03099593a5ffb7c372e5c0a143 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 11 May 2023 18:02:45 -0700 Subject: [PATCH 5/6] add LAYOUT_ansi_tsangan_split_bs_rshift --- keyboards/xelus/kangaroo/info.json | 135 +++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) diff --git a/keyboards/xelus/kangaroo/info.json b/keyboards/xelus/kangaroo/info.json index 00f42d354956..21793ea26897 100644 --- a/keyboards/xelus/kangaroo/info.json +++ b/keyboards/xelus/kangaroo/info.json @@ -279,6 +279,141 @@ {"label": "Menu", "matrix": [10, 9], "x": 20, "y": 5.25, "w": 1.25}, {"label": "Ctrl", "matrix": [11, 9], "x": 21.25, "y": 5.25, "w": 1.25} ] + }, + "LAYOUT_ansi_tsangan_split_bs_rshift": { + "layout": [ + {"label": "Mute", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "Volume Down", "matrix": [1, 0], "x": 1, "y": 0}, + {"label": "Volume Up", "matrix": [0, 1], "x": 2, "y": 0}, + {"label": "\u25bd", "matrix": [1, 1], "x": 3, "y": 0}, + + {"label": "Print Screen", "matrix": [0, 2], "x": 4.25, "y": 0}, + {"label": "Scroll Lock", "matrix": [1, 2], "x": 5.25, "y": 0}, + {"label": "Pause", "matrix": [0, 3], "x": 6.25, "y": 0}, + + {"label": "Esc", "matrix": [1, 3], "x": 7.5, "y": 0}, + + {"label": "F1", "matrix": [0, 4], "x": 9.5, "y": 0}, + {"label": "F2", "matrix": [1, 4], "x": 10.5, "y": 0}, + {"label": "F3", "matrix": [0, 5], "x": 11.5, "y": 0}, + {"label": "F4", "matrix": [1, 5], "x": 12.5, "y": 0}, + + {"label": "F5", "matrix": [0, 6], "x": 14, "y": 0}, + {"label": "F6", "matrix": [1, 6], "x": 15, "y": 0}, + {"label": "F7", "matrix": [0, 7], "x": 16, "y": 0}, + {"label": "F8", "matrix": [1, 7], "x": 17, "y": 0}, + + {"label": "F9", "matrix": [0, 8], "x": 18.5, "y": 0}, + {"label": "F10", "matrix": [1, 8], "x": 19.5, "y": 0}, + {"label": "F11", "matrix": [0, 9], "x": 20.5, "y": 0}, + {"label": "F12", "matrix": [1, 9], "x": 21.5, "y": 0}, + + {"label": "Num Lock", "matrix": [2, 0], "x": 0, "y": 1.25}, + {"label": "/", "matrix": [3, 0], "x": 1, "y": 1.25}, + {"label": "*", "matrix": [2, 1], "x": 2, "y": 1.25}, + {"label": "-", "matrix": [3, 1], "x": 3, "y": 1.25}, + + {"label": "Insert", "matrix": [2, 2], "x": 4.25, "y": 1.25}, + {"label": "Home", "matrix": [3, 2], "x": 5.25, "y": 1.25}, + {"label": "Page Up", "matrix": [2, 3], "x": 6.25, "y": 1.25}, + + {"label": "`", "matrix": [3, 3], "x": 7.5, "y": 1.25}, + {"label": "1", "matrix": [2, 4], "x": 8.5, "y": 1.25}, + {"label": "2", "matrix": [3, 4], "x": 9.5, "y": 1.25}, + {"label": "3", "matrix": [2, 5], "x": 10.5, "y": 1.25}, + {"label": "4", "matrix": [3, 5], "x": 11.5, "y": 1.25}, + {"label": "5", "matrix": [2, 6], "x": 12.5, "y": 1.25}, + {"label": "6", "matrix": [3, 6], "x": 13.5, "y": 1.25}, + {"label": "7", "matrix": [2, 7], "x": 14.5, "y": 1.25}, + {"label": "8", "matrix": [3, 7], "x": 15.5, "y": 1.25}, + {"label": "9", "matrix": [2, 8], "x": 16.5, "y": 1.25}, + {"label": "0", "matrix": [3, 8], "x": 17.5, "y": 1.25}, + {"label": "-", "matrix": [2, 9], "x": 18.5, "y": 1.25}, + {"label": "=", "matrix": [3, 9], "x": 19.5, "y": 1.25}, + {"label": "Backspace", "matrix": [2, 10], "x": 20.5, "y": 1.25}, + {"label": "Backspace", "matrix": [0, 10], "x": 21.5, "y": 1.25}, + + {"label": "+", "matrix": [4, 0], "x": 0, "y": 2.25}, + {"label": "7", "matrix": [5, 0], "x": 1, "y": 2.25}, + {"label": "8", "matrix": [4, 1], "x": 2, "y": 2.25}, + {"label": "9", "matrix": [5, 1], "x": 3, "y": 2.25}, + + {"label": "Delete", "matrix": [4, 2], "x": 4.25, "y": 2.25}, + {"label": "End", "matrix": [5, 2], "x": 5.25, "y": 2.25}, + {"label": "Page Down", "matrix": [4, 3], "x": 6.25, "y": 2.25}, + + {"label": "Tab", "matrix": [5, 3], "x": 7.5, "y": 2.25, "w": 1.5}, + {"label": "Q", "matrix": [4, 4], "x": 9, "y": 2.25}, + {"label": "W", "matrix": [5, 4], "x": 10, "y": 2.25}, + {"label": "E", "matrix": [4, 5], "x": 11, "y": 2.25}, + {"label": "R", "matrix": [5, 5], "x": 12, "y": 2.25}, + {"label": "T", "matrix": [4, 6], "x": 13, "y": 2.25}, + {"label": "Y", "matrix": [5, 6], "x": 14, "y": 2.25}, + {"label": "U", "matrix": [4, 7], "x": 15, "y": 2.25}, + {"label": "I", "matrix": [5, 7], "x": 16, "y": 2.25}, + {"label": "O", "matrix": [4, 8], "x": 17, "y": 2.25}, + {"label": "P", "matrix": [5, 8], "x": 18, "y": 2.25}, + {"label": "[", "matrix": [4, 9], "x": 19, "y": 2.25}, + {"label": "]", "matrix": [5, 9], "x": 20, "y": 2.25}, + {"label": "\\", "matrix": [4, 10], "x": 21, "y": 2.25, "w": 1.5}, + + {"label": "+", "matrix": [6, 0], "x": 0, "y": 3.25}, + {"label": "4", "matrix": [7, 0], "x": 1, "y": 3.25}, + {"label": "5", "matrix": [6, 1], "x": 2, "y": 3.25}, + {"label": "6", "matrix": [7, 1], "x": 3, "y": 3.25}, + + {"label": "Caps Lock", "matrix": [7, 3], "x": 7.5, "y": 3.25, "w": 1.75}, + {"label": "A", "matrix": [6, 4], "x": 9.25, "y": 3.25}, + {"label": "S", "matrix": [7, 4], "x": 10.25, "y": 3.25}, + {"label": "D", "matrix": [6, 5], "x": 11.25, "y": 3.25}, + {"label": "F", "matrix": [7, 5], "x": 12.25, "y": 3.25}, + {"label": "G", "matrix": [6, 6], "x": 13.25, "y": 3.25}, + {"label": "H", "matrix": [7, 6], "x": 14.25, "y": 3.25}, + {"label": "J", "matrix": [6, 7], "x": 15.25, "y": 3.25}, + {"label": "K", "matrix": [7, 7], "x": 16.25, "y": 3.25}, + {"label": "L", "matrix": [6, 8], "x": 17.25, "y": 3.25}, + {"label": ";", "matrix": [7, 8], "x": 18.25, "y": 3.25}, + {"label": "'", "matrix": [6, 9], "x": 19.25, "y": 3.25}, + {"label": "Enter", "matrix": [7, 9], "x": 20.25, "y": 3.25, "w": 2.25}, + + {"label": "Enter", "matrix": [8, 0], "x": 0, "y": 4.25}, + {"label": "1", "matrix": [9, 0], "x": 1, "y": 4.25}, + {"label": "2", "matrix": [8, 1], "x": 2, "y": 4.25}, + {"label": "3", "matrix": [9, 1], "x": 3, "y": 4.25}, + + {"label": "\u2191", "matrix": [9, 2], "x": 5.25, "y": 4.25}, + + {"label": "Shift", "matrix": [9, 3], "x": 7.5, "y": 4.25, "w": 2.25}, + {"label": "Z", "matrix": [8, 4], "x": 9.75, "y": 4.25}, + {"label": "X", "matrix": [9, 4], "x": 10.75, "y": 4.25}, + {"label": "C", "matrix": [8, 5], "x": 11.75, "y": 4.25}, + {"label": "V", "matrix": [9, 5], "x": 12.75, "y": 4.25}, + {"label": "B", "matrix": [8, 6], "x": 13.75, "y": 4.25}, + {"label": "N", "matrix": [9, 6], "x": 14.75, "y": 4.25}, + {"label": "M", "matrix": [8, 7], "x": 15.75, "y": 4.25}, + {"label": ",", "matrix": [9, 7], "x": 16.75, "y": 4.25}, + {"label": ".", "matrix": [8, 8], "x": 17.75, "y": 4.25}, + {"label": "/", "matrix": [9, 8], "x": 18.75, "y": 4.25}, + {"label": "Shift", "matrix": [8, 9], "x": 19.75, "y": 4.25, "w": 1.75}, + {"label": "Fn", "matrix": [9, 9], "x": 21.5, "y": 4.25}, + + {"label": "Enter", "matrix": [10, 0], "x": 0, "y": 5.25}, + {"label": ".", "matrix": [11, 0], "x": 1, "y": 5.25}, + {"label": "0", "matrix": [10, 1], "x": 2, "y": 5.25}, + {"label": "0", "matrix": [11, 1], "x": 3, "y": 5.25}, + + {"label": "\u2190", "matrix": [10, 2], "x": 4.25, "y": 5.25}, + {"label": "\u2193", "matrix": [11, 2], "x": 5.25, "y": 5.25}, + {"label": "\u2192", "matrix": [10, 3], "x": 6.25, "y": 5.25}, + + {"label": "Ctrl", "matrix": [11, 3], "x": 7.5, "y": 5.25, "w": 1.5}, + {"label": "GUI", "matrix": [10, 4], "x": 9, "y": 5.25}, + {"label": "Alt", "matrix": [11, 4], "x": 10, "y": 5.25, "w": 1.5}, + {"label": "Space", "matrix": [11, 6], "x": 11.5, "y": 5.25, "w": 7}, + {"label": "Alt", "matrix": [11, 8], "x": 18.5, "y": 5.25, "w": 1.5}, + {"label": "Menu", "matrix": [10, 9], "x": 20, "y": 5.25}, + {"label": "Ctrl", "matrix": [11, 9], "x": 21, "y": 5.25, "w": 1.5} + ] } } } From 42ce2e21c95d633e8557e8dc9b1d82d7978cf1b7 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 11 May 2023 18:03:10 -0700 Subject: [PATCH 6/6] add LAYOUT_ansi_tsangan --- keyboards/xelus/kangaroo/info.json | 133 +++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) diff --git a/keyboards/xelus/kangaroo/info.json b/keyboards/xelus/kangaroo/info.json index 21793ea26897..791aa75cf76f 100644 --- a/keyboards/xelus/kangaroo/info.json +++ b/keyboards/xelus/kangaroo/info.json @@ -280,6 +280,139 @@ {"label": "Ctrl", "matrix": [11, 9], "x": 21.25, "y": 5.25, "w": 1.25} ] }, + "LAYOUT_ansi_tsangan": { + "layout": [ + {"label": "Mute", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "Volume Down", "matrix": [1, 0], "x": 1, "y": 0}, + {"label": "Volume Up", "matrix": [0, 1], "x": 2, "y": 0}, + {"label": "\u25bd", "matrix": [1, 1], "x": 3, "y": 0}, + + {"label": "Print Screen", "matrix": [0, 2], "x": 4.25, "y": 0}, + {"label": "Scroll Lock", "matrix": [1, 2], "x": 5.25, "y": 0}, + {"label": "Pause", "matrix": [0, 3], "x": 6.25, "y": 0}, + + {"label": "Esc", "matrix": [1, 3], "x": 7.5, "y": 0}, + + {"label": "F1", "matrix": [0, 4], "x": 9.5, "y": 0}, + {"label": "F2", "matrix": [1, 4], "x": 10.5, "y": 0}, + {"label": "F3", "matrix": [0, 5], "x": 11.5, "y": 0}, + {"label": "F4", "matrix": [1, 5], "x": 12.5, "y": 0}, + + {"label": "F5", "matrix": [0, 6], "x": 14, "y": 0}, + {"label": "F6", "matrix": [1, 6], "x": 15, "y": 0}, + {"label": "F7", "matrix": [0, 7], "x": 16, "y": 0}, + {"label": "F8", "matrix": [1, 7], "x": 17, "y": 0}, + + {"label": "F9", "matrix": [0, 8], "x": 18.5, "y": 0}, + {"label": "F10", "matrix": [1, 8], "x": 19.5, "y": 0}, + {"label": "F11", "matrix": [0, 9], "x": 20.5, "y": 0}, + {"label": "F12", "matrix": [1, 9], "x": 21.5, "y": 0}, + + {"label": "Num Lock", "matrix": [2, 0], "x": 0, "y": 1.25}, + {"label": "/", "matrix": [3, 0], "x": 1, "y": 1.25}, + {"label": "*", "matrix": [2, 1], "x": 2, "y": 1.25}, + {"label": "-", "matrix": [3, 1], "x": 3, "y": 1.25}, + + {"label": "Insert", "matrix": [2, 2], "x": 4.25, "y": 1.25}, + {"label": "Home", "matrix": [3, 2], "x": 5.25, "y": 1.25}, + {"label": "Page Up", "matrix": [2, 3], "x": 6.25, "y": 1.25}, + + {"label": "`", "matrix": [3, 3], "x": 7.5, "y": 1.25}, + {"label": "1", "matrix": [2, 4], "x": 8.5, "y": 1.25}, + {"label": "2", "matrix": [3, 4], "x": 9.5, "y": 1.25}, + {"label": "3", "matrix": [2, 5], "x": 10.5, "y": 1.25}, + {"label": "4", "matrix": [3, 5], "x": 11.5, "y": 1.25}, + {"label": "5", "matrix": [2, 6], "x": 12.5, "y": 1.25}, + {"label": "6", "matrix": [3, 6], "x": 13.5, "y": 1.25}, + {"label": "7", "matrix": [2, 7], "x": 14.5, "y": 1.25}, + {"label": "8", "matrix": [3, 7], "x": 15.5, "y": 1.25}, + {"label": "9", "matrix": [2, 8], "x": 16.5, "y": 1.25}, + {"label": "0", "matrix": [3, 8], "x": 17.5, "y": 1.25}, + {"label": "-", "matrix": [2, 9], "x": 18.5, "y": 1.25}, + {"label": "=", "matrix": [3, 9], "x": 19.5, "y": 1.25}, + {"label": "Backspace", "matrix": [2, 10], "x": 20.5, "y": 1.25, "w": 2}, + + {"label": "+", "matrix": [4, 0], "x": 0, "y": 2.25}, + {"label": "7", "matrix": [5, 0], "x": 1, "y": 2.25}, + {"label": "8", "matrix": [4, 1], "x": 2, "y": 2.25}, + {"label": "9", "matrix": [5, 1], "x": 3, "y": 2.25}, + + {"label": "Delete", "matrix": [4, 2], "x": 4.25, "y": 2.25}, + {"label": "End", "matrix": [5, 2], "x": 5.25, "y": 2.25}, + {"label": "Page Down", "matrix": [4, 3], "x": 6.25, "y": 2.25}, + + {"label": "Tab", "matrix": [5, 3], "x": 7.5, "y": 2.25, "w": 1.5}, + {"label": "Q", "matrix": [4, 4], "x": 9, "y": 2.25}, + {"label": "W", "matrix": [5, 4], "x": 10, "y": 2.25}, + {"label": "E", "matrix": [4, 5], "x": 11, "y": 2.25}, + {"label": "R", "matrix": [5, 5], "x": 12, "y": 2.25}, + {"label": "T", "matrix": [4, 6], "x": 13, "y": 2.25}, + {"label": "Y", "matrix": [5, 6], "x": 14, "y": 2.25}, + {"label": "U", "matrix": [4, 7], "x": 15, "y": 2.25}, + {"label": "I", "matrix": [5, 7], "x": 16, "y": 2.25}, + {"label": "O", "matrix": [4, 8], "x": 17, "y": 2.25}, + {"label": "P", "matrix": [5, 8], "x": 18, "y": 2.25}, + {"label": "[", "matrix": [4, 9], "x": 19, "y": 2.25}, + {"label": "]", "matrix": [5, 9], "x": 20, "y": 2.25}, + {"label": "\\", "matrix": [4, 10], "x": 21, "y": 2.25, "w": 1.5}, + + {"label": "+", "matrix": [6, 0], "x": 0, "y": 3.25}, + {"label": "4", "matrix": [7, 0], "x": 1, "y": 3.25}, + {"label": "5", "matrix": [6, 1], "x": 2, "y": 3.25}, + {"label": "6", "matrix": [7, 1], "x": 3, "y": 3.25}, + + {"label": "Caps Lock", "matrix": [7, 3], "x": 7.5, "y": 3.25, "w": 1.75}, + {"label": "A", "matrix": [6, 4], "x": 9.25, "y": 3.25}, + {"label": "S", "matrix": [7, 4], "x": 10.25, "y": 3.25}, + {"label": "D", "matrix": [6, 5], "x": 11.25, "y": 3.25}, + {"label": "F", "matrix": [7, 5], "x": 12.25, "y": 3.25}, + {"label": "G", "matrix": [6, 6], "x": 13.25, "y": 3.25}, + {"label": "H", "matrix": [7, 6], "x": 14.25, "y": 3.25}, + {"label": "J", "matrix": [6, 7], "x": 15.25, "y": 3.25}, + {"label": "K", "matrix": [7, 7], "x": 16.25, "y": 3.25}, + {"label": "L", "matrix": [6, 8], "x": 17.25, "y": 3.25}, + {"label": ";", "matrix": [7, 8], "x": 18.25, "y": 3.25}, + {"label": "'", "matrix": [6, 9], "x": 19.25, "y": 3.25}, + {"label": "Enter", "matrix": [7, 9], "x": 20.25, "y": 3.25, "w": 2.25}, + + {"label": "Enter", "matrix": [8, 0], "x": 0, "y": 4.25}, + {"label": "1", "matrix": [9, 0], "x": 1, "y": 4.25}, + {"label": "2", "matrix": [8, 1], "x": 2, "y": 4.25}, + {"label": "3", "matrix": [9, 1], "x": 3, "y": 4.25}, + + {"label": "\u2191", "matrix": [9, 2], "x": 5.25, "y": 4.25}, + + {"label": "Shift", "matrix": [9, 3], "x": 7.5, "y": 4.25, "w": 2.25}, + {"label": "Z", "matrix": [8, 4], "x": 9.75, "y": 4.25}, + {"label": "X", "matrix": [9, 4], "x": 10.75, "y": 4.25}, + {"label": "C", "matrix": [8, 5], "x": 11.75, "y": 4.25}, + {"label": "V", "matrix": [9, 5], "x": 12.75, "y": 4.25}, + {"label": "B", "matrix": [8, 6], "x": 13.75, "y": 4.25}, + {"label": "N", "matrix": [9, 6], "x": 14.75, "y": 4.25}, + {"label": "M", "matrix": [8, 7], "x": 15.75, "y": 4.25}, + {"label": ",", "matrix": [9, 7], "x": 16.75, "y": 4.25}, + {"label": ".", "matrix": [8, 8], "x": 17.75, "y": 4.25}, + {"label": "/", "matrix": [9, 8], "x": 18.75, "y": 4.25}, + {"label": "Shift", "matrix": [8, 9], "x": 19.75, "y": 4.25, "w": 2.75}, + + {"label": "Enter", "matrix": [10, 0], "x": 0, "y": 5.25}, + {"label": ".", "matrix": [11, 0], "x": 1, "y": 5.25}, + {"label": "0", "matrix": [10, 1], "x": 2, "y": 5.25}, + {"label": "0", "matrix": [11, 1], "x": 3, "y": 5.25}, + + {"label": "\u2190", "matrix": [10, 2], "x": 4.25, "y": 5.25}, + {"label": "\u2193", "matrix": [11, 2], "x": 5.25, "y": 5.25}, + {"label": "\u2192", "matrix": [10, 3], "x": 6.25, "y": 5.25}, + + {"label": "Ctrl", "matrix": [11, 3], "x": 7.5, "y": 5.25, "w": 1.5}, + {"label": "GUI", "matrix": [10, 4], "x": 9, "y": 5.25}, + {"label": "Alt", "matrix": [11, 4], "x": 10, "y": 5.25, "w": 1.5}, + {"label": "Space", "matrix": [11, 6], "x": 11.5, "y": 5.25, "w": 7}, + {"label": "Alt", "matrix": [11, 8], "x": 18.5, "y": 5.25, "w": 1.5}, + {"label": "Menu", "matrix": [10, 9], "x": 20, "y": 5.25}, + {"label": "Ctrl", "matrix": [11, 9], "x": 21, "y": 5.25, "w": 1.5} + ] + }, "LAYOUT_ansi_tsangan_split_bs_rshift": { "layout": [ {"label": "Mute", "matrix": [0, 0], "x": 0, "y": 0},