Skip to content

Commit

Permalink
kakunpc/rabbit_capture_plan: add additional layouts (qmk#24059)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Jul 5, 2024
1 parent 8e64ff5 commit 096dc67
Show file tree
Hide file tree
Showing 2 changed files with 270 additions and 1 deletion.
255 changes: 254 additions & 1 deletion keyboards/kakunpc/rabbit_capture_plan/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,94 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layout_aliases": {
"LAYOUT_all": "LAYOUT_ansi_split_rshift"
},
"layouts": {
"LAYOUT_all": {
"LAYOUT_ansi": {
"layout": [
{"matrix": [0, 0], "x": 0.41, "y": 0},
{"matrix": [0, 1], "x": 1.41, "y": 0},
{"matrix": [0, 2], "x": 2.72, "y": 0},
{"matrix": [0, 3], "x": 3.72, "y": 0},
{"matrix": [0, 4], "x": 4.72, "y": 0},
{"matrix": [0, 5], "x": 5.72, "y": 0},
{"matrix": [0, 6], "x": 6.72, "y": 0},

{"matrix": [5, 0], "x": 9.62, "y": 0},
{"matrix": [5, 1], "x": 10.62, "y": 0},
{"matrix": [5, 2], "x": 11.62, "y": 0},
{"matrix": [5, 3], "x": 12.62, "y": 0},
{"matrix": [5, 4], "x": 14.07, "y": 0},
{"matrix": [5, 5], "x": 15.07, "y": 0},
{"matrix": [5, 6], "x": 16.07, "y": 0},
{"matrix": [5, 7], "x": 17.07, "y": 0},

{"matrix": [1, 0], "x": 0.28, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.78, "y": 1},
{"matrix": [1, 2], "x": 3.22, "y": 1},
{"matrix": [1, 3], "x": 4.22, "y": 1},
{"matrix": [1, 4], "x": 5.22, "y": 1},
{"matrix": [1, 5], "x": 6.22, "y": 1},
{"matrix": [1, 6], "x": 7.22, "y": 1},

{"matrix": [6, 0], "x": 9.12, "y": 1},
{"matrix": [6, 1], "x": 10.12, "y": 1},
{"matrix": [6, 2], "x": 11.12, "y": 1},
{"matrix": [6, 3], "x": 12.12, "y": 1},
{"matrix": [6, 4], "x": 13.72, "y": 1},
{"matrix": [6, 5], "x": 14.72, "y": 1},
{"matrix": [6, 6], "x": 15.72, "y": 1},
{"matrix": [6, 7], "x": 16.72, "y": 1, "w": 1.5},

{"matrix": [2, 0], "x": 0.14, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.89, "y": 2},
{"matrix": [2, 2], "x": 3.47, "y": 2},
{"matrix": [2, 3], "x": 4.47, "y": 2},
{"matrix": [2, 4], "x": 5.47, "y": 2},
{"matrix": [2, 5], "x": 6.47, "y": 2},
{"matrix": [4, 5], "x": 7.47, "y": 2},

{"matrix": [7, 0], "x": 9.37, "y": 2},
{"matrix": [7, 1], "x": 10.37, "y": 2},
{"matrix": [7, 2], "x": 11.37, "y": 2},
{"matrix": [7, 3], "x": 12.37, "y": 2},
{"matrix": [7, 4], "x": 14.09, "y": 2},
{"matrix": [7, 5], "x": 15.09, "y": 2},
{"matrix": [7, 6], "x": 16.09, "y": 2, "w": 2.25},

{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"matrix": [3, 1], "x": 2.25, "y": 3},
{"matrix": [3, 2], "x": 3.97, "y": 3},
{"matrix": [3, 3], "x": 4.97, "y": 3},
{"matrix": [3, 4], "x": 5.97, "y": 3},
{"matrix": [3, 5], "x": 6.97, "y": 3},

{"matrix": [8, 0], "x": 8.87, "y": 3},
{"matrix": [8, 1], "x": 9.87, "y": 3},
{"matrix": [8, 2], "x": 10.87, "y": 3},
{"matrix": [8, 3], "x": 11.87, "y": 3},
{"matrix": [8, 4], "x": 13.72, "y": 3},
{"matrix": [8, 5], "x": 14.72, "y": 3},
{"matrix": [8, 6], "x": 15.72, "y": 3, "w": 1.75},

{"matrix": [9, 0], "x": 18, "y": 3.25},

{"matrix": [4, 0], "x": 0.25, "y": 4, "w": 1.25},
{"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.25},
{"matrix": [4, 2], "x": 4.47, "y": 4},
{"matrix": [4, 3], "x": 5.47, "y": 4, "w": 2},
{"matrix": [4, 4], "x": 7.47, "y": 4},

{"matrix": [9, 1], "x": 9.35, "y": 4, "w": 2.75},
{"matrix": [9, 2], "x": 12.1, "y": 4},

{"matrix": [9, 3], "x": 17, "y": 4.25},
{"matrix": [9, 4], "x": 18, "y": 4.25},
{"matrix": [9, 5], "x": 19, "y": 4.25}
]
},
"LAYOUT_ansi_split_rshift": {
"layout": [
{"matrix": [0, 0], "x": 0.41, "y": 0},
{"matrix": [0, 1], "x": 1.41, "y": 0},
Expand Down Expand Up @@ -137,6 +223,173 @@
{"matrix": [9, 1], "x": 9.35, "y": 4, "w": 2.75},
{"matrix": [9, 2], "x": 12.1, "y": 4},

{"matrix": [9, 3], "x": 17, "y": 4.25},
{"matrix": [9, 4], "x": 18, "y": 4.25},
{"matrix": [9, 5], "x": 19, "y": 4.25}
]
},
"LAYOUT_iso": {
"layout": [
{"matrix": [0, 0], "x": 0.41, "y": 0},
{"matrix": [0, 1], "x": 1.41, "y": 0},
{"matrix": [0, 2], "x": 2.72, "y": 0},
{"matrix": [0, 3], "x": 3.72, "y": 0},
{"matrix": [0, 4], "x": 4.72, "y": 0},
{"matrix": [0, 5], "x": 5.72, "y": 0},
{"matrix": [0, 6], "x": 6.72, "y": 0},

{"matrix": [5, 0], "x": 9.62, "y": 0},
{"matrix": [5, 1], "x": 10.62, "y": 0},
{"matrix": [5, 2], "x": 11.62, "y": 0},
{"matrix": [5, 3], "x": 12.62, "y": 0},
{"matrix": [5, 4], "x": 14.07, "y": 0},
{"matrix": [5, 5], "x": 15.07, "y": 0},
{"matrix": [5, 6], "x": 16.07, "y": 0},
{"matrix": [5, 7], "x": 17.07, "y": 0},

{"matrix": [1, 0], "x": 0.28, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.78, "y": 1},
{"matrix": [1, 2], "x": 3.22, "y": 1},
{"matrix": [1, 3], "x": 4.22, "y": 1},
{"matrix": [1, 4], "x": 5.22, "y": 1},
{"matrix": [1, 5], "x": 6.22, "y": 1},
{"matrix": [1, 6], "x": 7.22, "y": 1},

{"matrix": [6, 0], "x": 9.12, "y": 1},
{"matrix": [6, 1], "x": 10.12, "y": 1},
{"matrix": [6, 2], "x": 11.12, "y": 1},
{"matrix": [6, 3], "x": 12.12, "y": 1},
{"matrix": [6, 4], "x": 13.72, "y": 1},
{"matrix": [6, 5], "x": 14.72, "y": 1},
{"matrix": [6, 6], "x": 15.72, "y": 1},

{"matrix": [2, 0], "x": 0.14, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.89, "y": 2},
{"matrix": [2, 2], "x": 3.47, "y": 2},
{"matrix": [2, 3], "x": 4.47, "y": 2},
{"matrix": [2, 4], "x": 5.47, "y": 2},
{"matrix": [2, 5], "x": 6.47, "y": 2},
{"matrix": [4, 5], "x": 7.47, "y": 2},

{"matrix": [7, 0], "x": 9.37, "y": 2},
{"matrix": [7, 1], "x": 10.37, "y": 2},
{"matrix": [7, 2], "x": 11.37, "y": 2},
{"matrix": [7, 3], "x": 12.37, "y": 2},
{"matrix": [7, 4], "x": 14.09, "y": 2},
{"matrix": [7, 5], "x": 15.09, "y": 2},
{"matrix": [7, 6], "x": 16.09, "y": 2},
{"matrix": [6, 7], "x": 17.09, "y": 1, "w": 1.25, "h": 2},

{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"matrix": [3, 1], "x": 2.25, "y": 3},
{"matrix": [3, 2], "x": 3.97, "y": 3},
{"matrix": [3, 3], "x": 4.97, "y": 3},
{"matrix": [3, 4], "x": 5.97, "y": 3},
{"matrix": [3, 5], "x": 6.97, "y": 3},

{"matrix": [8, 0], "x": 8.87, "y": 3},
{"matrix": [8, 1], "x": 9.87, "y": 3},
{"matrix": [8, 2], "x": 10.87, "y": 3},
{"matrix": [8, 3], "x": 11.87, "y": 3},
{"matrix": [8, 4], "x": 13.72, "y": 3},
{"matrix": [8, 5], "x": 14.72, "y": 3},
{"matrix": [8, 6], "x": 15.72, "y": 3, "w": 1.75},

{"matrix": [9, 0], "x": 18, "y": 3.25},

{"matrix": [4, 0], "x": 0.25, "y": 4, "w": 1.25},
{"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.25},
{"matrix": [4, 2], "x": 4.47, "y": 4},
{"matrix": [4, 3], "x": 5.47, "y": 4, "w": 2},
{"matrix": [4, 4], "x": 7.47, "y": 4},

{"matrix": [9, 1], "x": 9.35, "y": 4, "w": 2.75},
{"matrix": [9, 2], "x": 12.1, "y": 4},

{"matrix": [9, 3], "x": 17, "y": 4.25},
{"matrix": [9, 4], "x": 18, "y": 4.25},
{"matrix": [9, 5], "x": 19, "y": 4.25}
]
},
"LAYOUT_iso_split_rshift": {
"layout": [
{"matrix": [0, 0], "x": 0.41, "y": 0},
{"matrix": [0, 1], "x": 1.41, "y": 0},
{"matrix": [0, 2], "x": 2.72, "y": 0},
{"matrix": [0, 3], "x": 3.72, "y": 0},
{"matrix": [0, 4], "x": 4.72, "y": 0},
{"matrix": [0, 5], "x": 5.72, "y": 0},
{"matrix": [0, 6], "x": 6.72, "y": 0},

{"matrix": [5, 0], "x": 9.62, "y": 0},
{"matrix": [5, 1], "x": 10.62, "y": 0},
{"matrix": [5, 2], "x": 11.62, "y": 0},
{"matrix": [5, 3], "x": 12.62, "y": 0},
{"matrix": [5, 4], "x": 14.07, "y": 0},
{"matrix": [5, 5], "x": 15.07, "y": 0},
{"matrix": [5, 6], "x": 16.07, "y": 0},
{"matrix": [5, 7], "x": 17.07, "y": 0},

{"matrix": [1, 0], "x": 0.28, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.78, "y": 1},
{"matrix": [1, 2], "x": 3.22, "y": 1},
{"matrix": [1, 3], "x": 4.22, "y": 1},
{"matrix": [1, 4], "x": 5.22, "y": 1},
{"matrix": [1, 5], "x": 6.22, "y": 1},
{"matrix": [1, 6], "x": 7.22, "y": 1},

{"matrix": [6, 0], "x": 9.12, "y": 1},
{"matrix": [6, 1], "x": 10.12, "y": 1},
{"matrix": [6, 2], "x": 11.12, "y": 1},
{"matrix": [6, 3], "x": 12.12, "y": 1},
{"matrix": [6, 4], "x": 13.72, "y": 1},
{"matrix": [6, 5], "x": 14.72, "y": 1},
{"matrix": [6, 6], "x": 15.72, "y": 1},

{"matrix": [2, 0], "x": 0.14, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.89, "y": 2},
{"matrix": [2, 2], "x": 3.47, "y": 2},
{"matrix": [2, 3], "x": 4.47, "y": 2},
{"matrix": [2, 4], "x": 5.47, "y": 2},
{"matrix": [2, 5], "x": 6.47, "y": 2},
{"matrix": [4, 5], "x": 7.47, "y": 2},

{"matrix": [7, 0], "x": 9.37, "y": 2},
{"matrix": [7, 1], "x": 10.37, "y": 2},
{"matrix": [7, 2], "x": 11.37, "y": 2},
{"matrix": [7, 3], "x": 12.37, "y": 2},
{"matrix": [7, 4], "x": 14.09, "y": 2},
{"matrix": [7, 5], "x": 15.09, "y": 2},
{"matrix": [7, 6], "x": 16.09, "y": 2},
{"matrix": [6, 7], "x": 17.09, "y": 1, "w": 1.25, "h": 2},

{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"matrix": [3, 1], "x": 2.25, "y": 3},
{"matrix": [3, 2], "x": 3.97, "y": 3},
{"matrix": [3, 3], "x": 4.97, "y": 3},
{"matrix": [3, 4], "x": 5.97, "y": 3},
{"matrix": [3, 5], "x": 6.97, "y": 3},

{"matrix": [8, 0], "x": 8.87, "y": 3},
{"matrix": [8, 1], "x": 9.87, "y": 3},
{"matrix": [8, 2], "x": 10.87, "y": 3},
{"matrix": [8, 3], "x": 11.87, "y": 3},
{"matrix": [8, 4], "x": 13.72, "y": 3},
{"matrix": [8, 5], "x": 14.72, "y": 3},
{"matrix": [8, 6], "x": 15.72, "y": 3},
{"matrix": [8, 7], "x": 16.72, "y": 3},

{"matrix": [9, 0], "x": 18, "y": 3.25},

{"matrix": [4, 0], "x": 0.25, "y": 4, "w": 1.25},
{"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.25},
{"matrix": [4, 2], "x": 4.47, "y": 4},
{"matrix": [4, 3], "x": 5.47, "y": 4, "w": 2},
{"matrix": [4, 4], "x": 7.47, "y": 4},

{"matrix": [9, 1], "x": 9.35, "y": 4, "w": 2.75},
{"matrix": [9, 2], "x": 12.1, "y": 4},

{"matrix": [9, 3], "x": 17, "y": 4.25},
{"matrix": [9, 4], "x": 18, "y": 4.25},
{"matrix": [9, 5], "x": 19, "y": 4.25}
Expand Down
16 changes: 16 additions & 0 deletions keyboards/kakunpc/rabbit_capture_plan/matrix_diagram.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Matrix Diagram for rabbit_capture_plan

```
┌───┬───┐ ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐
│00 │01 │ │02 │03 │04 │05 │06 │ │50 │51 │52 │53 │ │54 │55 │56 │57 │
┌┴───┴┬──┴┐└─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┐ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┘ ┌─┴─┬─┴─┬─┴─┬─┴───┤ ┌─────┐
│10 │11 │ │12 │13 │14 │15 │16 │ │60 │61 │62 │63 │ │64 │65 │66 │67 │ │67 │
┌┴─────┼───┤ └┬──┴┬──┴┬──┴┬──┴┬──┴┐ └┬──┴┬──┴┬──┴┬──┴┐ └─┬─┴─┬─┴─┬─┴─────┴┐ ┌──┴┐ │ ISO Enter
│20 │21 │ │22 │23 │24 │25 │26 │ │70 │71 │72 │73 │ │74 │75 │76 │ │76 │ │
┌┴──────┴┬──┴┐ └─┬─┴─┬─┴─┬─┴─┬─┴─┬─┘ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┘ ┌─┴─┬─┴─┬─┴─┬───┬──┘ └───┴────┘
│30 │31 │ │32 │33 │34 │35 │ │80 │81 │82 │83 │ │84 │85 │86 │87 │ ┌───┐ ┌──────┐
└┬────┬──┴─┬─┘ └─┬─┴─┬─┴───┴─┬─┴─┐ └─┬─┴───┴───┴┬──┴┐ └───┴───┴───┴───┘ │90 │ │86 │ 1.75u Right Shift
│40 │41 │ │42 │43 │44 │ │91 │92 │ ┌───┼───┼───┐ └──────┘
└────┴────┘ └───┴───────┴───┘ └──────────┴───┘ │93 │94 │95 │
└───┴───┴───┘
```

0 comments on commit 096dc67

Please sign in to comment.