summaryrefslogtreecommitdiffstats
path: root/keyboards/atreyu/rev2/info.json
blob: 6fcfd64d1fff19692082186d5cde0ee7d499ca3c (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
    "keyboard_name": "Atreyu",
    "manufacturer": "Heyzeus",
    "url": "https://github.com/climent/atreyu",
    "maintainer": "Jesus Climent <climent@gmail.com>",
    "usb": {
      "vid": "0xFEED",
      "pid": "0x0001",
      "device_version": "0.0.2"
    },
    "matrix_pins": {
        "cols": ["F4", "F5", "C6", "D4", "D2", "D3"],
        "rows": ["D7", "E6", "B4", "B5", "F6", "F7", "B1", "B3", "B6", "B2"]
    },
    "diode_direction": "COL2ROW",
    "encoder": {
        "rotary": [
            {"pin_a": "D5", "pin_b": "B7"},
            {"pin_a": "D5", "pin_b": "C7"}
        ]
    },
    "processor": "atmega32u4",
    "bootloader": "atmel-dfu",
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 0.5},
                {"matrix": [0, 1], "x": 1, "y": 0.375},
                {"matrix": [0, 2], "x": 2, "y": 0.125},
                {"matrix": [0, 3], "x": 3, "y": 0},
                {"matrix": [0, 4], "x": 4, "y": 0.125},
                {"matrix": [0, 5], "x": 5, "y": 0.25},

                {"matrix": [4, 5], "x": 10.5, "y": 0.25},
                {"matrix": [4, 4], "x": 11.5, "y": 0.125},
                {"matrix": [4, 3], "x": 12.5, "y": 0},
                {"matrix": [4, 2], "x": 13.5, "y": 0.125},
                {"matrix": [4, 1], "x": 14.5, "y": 0.375},
                {"matrix": [4, 0], "x": 15.5, "y": 0.5},

                {"matrix": [1, 0], "x": 0, "y": 1.5},
                {"matrix": [1, 1], "x": 1, "y": 1.375},
                {"matrix": [1, 2], "x": 2, "y": 1.125},
                {"matrix": [1, 3], "x": 3, "y": 1},
                {"matrix": [1, 4], "x": 4, "y": 1.125},
                {"matrix": [1, 5], "x": 5, "y": 1.25},

                {"matrix": [5, 5], "x": 10.5, "y": 1.25},
                {"matrix": [5, 4], "x": 11.5, "y": 1.125},
                {"matrix": [5, 3], "x": 12.5, "y": 1},
                {"matrix": [5, 2], "x": 13.5, "y": 1.125},
                {"matrix": [5, 1], "x": 14.5, "y": 1.375},
                {"matrix": [5, 0], "x": 15.5, "y": 1.5},

                {"matrix": [2, 0], "x": 0, "y": 2.5},
                {"matrix": [2, 1], "x": 1, "y": 2.375},
                {"matrix": [2, 2], "x": 2, "y": 2.125},
                {"matrix": [2, 3], "x": 3, "y": 2},
                {"matrix": [2, 4], "x": 4, "y": 2.125},
                {"matrix": [2, 5], "x": 5, "y": 2.25},

                {"matrix": [6, 5], "x": 10.5, "y": 2.25},
                {"matrix": [6, 4], "x": 11.5, "y": 2.125},
                {"matrix": [6, 3], "x": 12.5, "y": 2},
                {"matrix": [6, 2], "x": 13.5, "y": 2.125},
                {"matrix": [6, 1], "x": 14.5, "y": 2.375},
                {"matrix": [6, 0], "x": 15.5, "y": 2.5},

                {"matrix": [3, 0], "x": 0, "y": 3.5},
                {"matrix": [3, 1], "x": 1, "y": 3.375},
                {"matrix": [3, 2], "x": 2, "y": 3.125},
                {"matrix": [3, 3], "x": 3, "y": 3},
                {"matrix": [3, 4], "x": 4, "y": 3.125},
                {"matrix": [3, 5], "x": 5, "y": 3.25},

                {"matrix": [7, 5], "x": 10.5, "y": 3.25},
                {"matrix": [7, 4], "x": 11.5, "y": 3.125},
                {"matrix": [7, 3], "x": 12.5, "y": 3},
                {"matrix": [7, 2], "x": 13.5, "y": 3.125},
                {"matrix": [7, 1], "x": 14.5, "y": 3.375},
                {"matrix": [7, 0], "x": 15.5, "y": 3.5},

                {"matrix": [8, 0], "x": 0, "y": 4.5},
                {"matrix": [8, 1], "x": 2.5, "y": 4.125},
                {"matrix": [8, 2], "x": 3.5, "y": 4.15},
                {"matrix": [8, 3], "x": 4.5, "y": 4.25},
                {"matrix": [8, 4], "x": 6, "y": 4.25, "h": 1.25},
                {"matrix": [8, 5], "x": 6, "y": 2.75},

                {"matrix": [9, 5], "x": 9.5, "y": 2.75},
                {"matrix": [9, 4], "x": 9.5, "y": 4.25, "h": 1.25},
                {"matrix": [9, 3], "x": 11, "y": 4.25},
                {"matrix": [9, 2], "x": 12, "y": 4.15},
                {"matrix": [9, 1], "x": 13, "y": 4.125},
                {"matrix": [9, 0], "x": 15.5, "y": 4.5}
            ]
        }
    }
}