summaryrefslogtreecommitdiff
path: root/keyboards/frooastboard
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-05 15:46:59 +1000
committerGitHub <noreply@github.com>2023-04-05 15:46:59 +1000
commit364c06d939134184838579d4e73880f8c2f83419 (patch)
treeb54be2d8a9a7ca5913774390bb0772e927d6523a /keyboards/frooastboard
parent06c5c028046adc0a5501f6ac51953640e2015020 (diff)
Move small macropad-ish layouts to data driven (#20341)
Diffstat (limited to 'keyboards/frooastboard')
-rw-r--r--keyboards/frooastboard/nano/info.json25
-rw-r--r--keyboards/frooastboard/nano/nano.h27
2 files changed, 5 insertions, 47 deletions
diff --git a/keyboards/frooastboard/nano/info.json b/keyboards/frooastboard/nano/info.json
index fae1349a65..8cdffd2654 100644
--- a/keyboards/frooastboard/nano/info.json
+++ b/keyboards/frooastboard/nano/info.json
@@ -7,26 +7,11 @@
7 "layouts": { 7 "layouts": {
8 "LAYOUT": { 8 "LAYOUT": {
9 "layout": [ 9 "layout": [
10 { 10 {"matrix": [0, 0], "x": 0, "y": 0},
11 "label": "Z", 11 {"matrix": [0, 1], "x": 1, "y": 0},
12 "x": 0, 12
13 "y": 0 13 {"matrix": [1, 0], "x": 0, "y": 1},
14 }, 14 {"matrix": [1, 1], "x": 1, "y": 1}
15 {
16 "label": "X",
17 "x": 1,
18 "y": 0
19 },
20 {
21 "label": "Esc",
22 "x": 0,
23 "y": 1
24 },
25 {
26 "label": "~",
27 "x": 1,
28 "y": 1
29 }
30 ] 15 ]
31 } 16 }
32 }, 17 },
diff --git a/keyboards/frooastboard/nano/nano.h b/keyboards/frooastboard/nano/nano.h
deleted file mode 100644
index 76d1a42eac..0000000000
--- a/keyboards/frooastboard/nano/nano.h
+++ /dev/null
@@ -1,27 +0,0 @@
1/* Copyright 2021-2022 frooastside
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 3 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
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 K00, K01, \
23 K10, K11 \
24) { \
25 { K00, K01 }, \
26 { K10, K11 } \
27}