summaryrefslogtreecommitdiff
path: root/keyboards/drhigsby
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-12 13:42:51 +1000
committerGitHub <noreply@github.com>2023-04-12 13:42:51 +1000
commit5bd68e3695a82ff504c358c33445b4530c2a327f (patch)
tree10b245757dcb4f2c3c07796671ed8d284e5f5d6f /keyboards/drhigsby
parent941e159a28f1bdbdd913654c4f9a14291f8d5299 (diff)
Move single `LAYOUT`s to data driven (#20365)
Diffstat (limited to 'keyboards/drhigsby')
-rw-r--r--keyboards/drhigsby/dubba175/dubba175.h30
-rw-r--r--keyboards/drhigsby/dubba175/info.json46
2 files changed, 43 insertions, 33 deletions
diff --git a/keyboards/drhigsby/dubba175/dubba175.h b/keyboards/drhigsby/dubba175/dubba175.h
deleted file mode 100644
index 0413b158d2..0000000000
--- a/keyboards/drhigsby/dubba175/dubba175.h
+++ /dev/null
@@ -1,30 +0,0 @@
1/* Copyright 2020 drhigsby
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT( \
21 k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, \
22 k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, \
23 k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, \
24 k302, k303, k304, k305, k306, k307 \
25) { \
26 { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009 }, \
27 { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109 }, \
28 { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209 }, \
29 { KC_NO, KC_NO, k302, k303, k304, k305, k306, k307, KC_NO, KC_NO } \
30}
diff --git a/keyboards/drhigsby/dubba175/info.json b/keyboards/drhigsby/dubba175/info.json
index 6e24721cf9..001fa7c6e2 100644
--- a/keyboards/drhigsby/dubba175/info.json
+++ b/keyboards/drhigsby/dubba175/info.json
@@ -15,9 +15,49 @@
15 "diode_direction": "COL2ROW", 15 "diode_direction": "COL2ROW",
16 "processor": "atmega32u4", 16 "processor": "atmega32u4",
17 "bootloader": "caterina", 17 "bootloader": "caterina",
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [{"label":"", "x":0, "y":0}, {"label":"", "x":1, "y":0}, {"label":"", "x":2, "y":0}, {"label":"", "x":3, "y":0}, {"label":"", "x":4, "y":0}, {"label":"", "x":5, "y":0}, {"label":"", "x":6, "y":0}, {"label":"", "x":7, "y":0}, {"label":"", "x":8, "y":0}, {"label":"", "x":9, "y":0}, {"label":"", "x":0, "y":1}, {"label":"", "x":1, "y":1}, {"label":"", "x":2, "y":1}, {"label":"", "x":3, "y":1}, {"label":"", "x":4, "y":1}, {"label":"", "x":5, "y":1}, {"label":"", "x":6, "y":1}, {"label":"", "x":7, "y":1}, {"label":"", "x":8, "y":1}, {"label":"", "x":9, "y":1}, {"label":"", "x":0, "y":2}, {"label":"", "x":1, "y":2}, {"label":"", "x":2, "y":2}, {"label":"", "x":3, "y":2}, {"label":"", "x":4, "y":2}, {"label":"", "x":5, "y":2}, {"label":"", "x":6, "y":2}, {"label":"<", "x":7, "y":2}, {"label":">", "x":8, "y":2}, {"label":"", "x":9, "y":2}, {"label":"", "x":1.25, "y":3}, {"label":"", "x":2.25, "y":3}, {"label":"", "x":3.25, "y":3, "w":1.75}, {"x":5, "y":3, "w":1.75}, {"label":"", "x":6.75, "y":3}, {"label":"", "x":7.75, "y":3}] 20 "layout": [
21 {"matrix": [0, 0], "x": 0, "y": 0},
22 {"matrix": [0, 1], "x": 1, "y": 0},
23 {"matrix": [0, 2], "x": 2, "y": 0},
24 {"matrix": [0, 3], "x": 3, "y": 0},
25 {"matrix": [0, 4], "x": 4, "y": 0},
26 {"matrix": [0, 5], "x": 5, "y": 0},
27 {"matrix": [0, 6], "x": 6, "y": 0},
28 {"matrix": [0, 7], "x": 7, "y": 0},
29 {"matrix": [0, 8], "x": 8, "y": 0},
30 {"matrix": [0, 9], "x": 9, "y": 0},
31
32 {"matrix": [1, 0], "x": 0, "y": 1},
33 {"matrix": [1, 1], "x": 1, "y": 1},
34 {"matrix": [1, 2], "x": 2, "y": 1},
35 {"matrix": [1, 3], "x": 3, "y": 1},
36 {"matrix": [1, 4], "x": 4, "y": 1},
37 {"matrix": [1, 5], "x": 5, "y": 1},
38 {"matrix": [1, 6], "x": 6, "y": 1},
39 {"matrix": [1, 7], "x": 7, "y": 1},
40 {"matrix": [1, 8], "x": 8, "y": 1},
41 {"matrix": [1, 9], "x": 9, "y": 1},
42
43 {"matrix": [2, 0], "x": 0, "y": 2},
44 {"matrix": [2, 1], "x": 1, "y": 2},
45 {"matrix": [2, 2], "x": 2, "y": 2},
46 {"matrix": [2, 3], "x": 3, "y": 2},
47 {"matrix": [2, 4], "x": 4, "y": 2},
48 {"matrix": [2, 5], "x": 5, "y": 2},
49 {"matrix": [2, 6], "x": 6, "y": 2},
50 {"matrix": [2, 7], "x": 7, "y": 2},
51 {"matrix": [2, 8], "x": 8, "y": 2},
52 {"matrix": [2, 9], "x": 9, "y": 2},
53
54 {"matrix": [3, 2], "x": 1.25, "y": 3},
55 {"matrix": [3, 3], "x": 2.25, "y": 3},
56 {"matrix": [3, 4], "x": 3.25, "y": 3, "w": 1.75},
57 {"matrix": [3, 5], "x": 5, "y": 3, "w": 1.75},
58 {"matrix": [3, 6], "x": 6.75, "y": 3},
59 {"matrix": [3, 7], "x": 7.75, "y": 3}
60 ]
21 } 61 }
22 } 62 }
23} 63}