summaryrefslogtreecommitdiff
path: root/keyboards/yanghu/unicorne/info.json
blob: 3365ea7cf5ea44f4212ed5a620b67aaccbc13bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
  "keyboard_name": "Unicorne",
  "manufacturer": "yanghu",
  "url": "https://github.com/yanghu/unicorne",
  "maintainer": "yanghu",
  "usb": {
    "vid": "0xFEED",
    "pid": "0x0204",
    "device_version": "0.0.1"
  },
  "ws2812": {
    "driver": "pwm"
  },
  "matrix_pins": {
    "cols": ["A14", "A15", "B13", "B14", "B15", "A13", "A0", "A1", "A2", "A3", "A6", "A7"],
    "rows": ["B9", "B8", "A10", "A9"]
  },
  "diode_direction": "COL2ROW",
  "encoder": {
    "rotary": [
      {"pin_a": "B10", "pin_b": "B12"},
      {"pin_a": "B2", "pin_b": "B0"}
    ]
  },
  "layout_aliases": {
    "LAYOUT": "LAYOUT_split_3x6_4"
  },
  "layouts": {
    "LAYOUT_split_3x6_4": {
      "layout": [
        {"label":"Tab", "x":0, "y":0.8},
        {"label":"Q", "x":1, "y":0.8},
        {"label":"W", "x":2, "y":0.1},
        {"label":"E", "x":3, "y":0},
        {"label":"R", "x":4, "y":0.1},
        {"label":"T", "x":5, "y":0.2},

        {"label":"Y", "x":9, "y":0.2},
        {"label":"U", "x":10, "y":0.1},
        {"label":"I", "x":11, "y":0},
        {"label":"O", "x":12, "y":0.1},
        {"label":"P", "x":13, "y":0.8},
        {"label":"Back Space", "x":14, "y":0.8},

        {"label":"Ctrl / Esc", "x":0, "y":1.8},
        {"label":"A", "x":1, "y":1.8},
        {"label":"S", "x":2, "y":1.1},
        {"label":"D", "x":3, "y":1},
        {"label":"F", "x":4, "y":1.1},
        {"label":"G", "x":5, "y":1.2},

        {"label":"H", "x":9, "y":1.2},
        {"label":"J", "x":10, "y":1.1},
        {"label":"K", "x":11, "y":1},
        {"label":"L", "x":12, "y":1.1},
        {"label":";", "x":13, "y":1.8},
        {"label":"'", "x":14, "y":1.8},

        {"label":"Shift", "x":0, "y":2.8},
        {"label":"Z", "x":1, "y":2.8},
        {"label":"X", "x":2, "y":2.1},
        {"label":"C", "x":3, "y":2},
        {"label":"V", "x":4, "y":2.1},
        {"label":"B", "x":5, "y":2.2},

        {"label":"N", "x":9, "y":2.2},
        {"label":"M", "x":10, "y":2.1},
        {"label":",", "x":11, "y":2},
        {"label":".", "x":12, "y":2.1},
        {"label":"/", "x":13, "y":2.8},
        {"label":"Shift / Enter", "x":14, "y":2.8},

        {"label":"Ctrl", "x":3, "y":3.7},
        {"label":"Alt", "x":4, "y":3.7},
        {"label":"Lower", "x":5, "y":3.7},
        {"label":"Enter", "x":6, "y":3.2, "h":1.5},

        {"label":"Backspace", "x":8, "y":3.2, "h":1.5},
        {"label":"Space", "x":9, "y":3.7},
        {"label":"Raise", "x":10, "y":3.7},
        {"label":"RGUI", "x":11, "y":3.7}
      ]
    }
  }
}