summaryrefslogtreecommitdiff
path: root/keyboards/keebio
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/keebio
parent06c5c028046adc0a5501f6ac51953640e2015020 (diff)
Move small macropad-ish layouts to data driven (#20341)
Diffstat (limited to 'keyboards/keebio')
-rw-r--r--keyboards/keebio/bamfk4/bamfk4.c2
-rw-r--r--keyboards/keebio/bamfk4/bamfk4.h12
-rw-r--r--keyboards/keebio/bamfk4/info.json8
-rw-r--r--keyboards/keebio/bigswitchseat/bigswitchseat.h12
-rw-r--r--keyboards/keebio/bigswitchseat/info.json4
5 files changed, 8 insertions, 30 deletions
diff --git a/keyboards/keebio/bamfk4/bamfk4.c b/keyboards/keebio/bamfk4/bamfk4.c
index 6a382bfaf6..52fe61e39e 100644
--- a/keyboards/keebio/bamfk4/bamfk4.c
+++ b/keyboards/keebio/bamfk4/bamfk4.c
@@ -1,7 +1,7 @@
// Copyright 2022 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "bamfk4.h"
+#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
diff --git a/keyboards/keebio/bamfk4/bamfk4.h b/keyboards/keebio/bamfk4/bamfk4.h
deleted file mode 100644
index 0bdc2f602f..0000000000
--- a/keyboards/keebio/bamfk4/bamfk4.h
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2022 Danny Nguyen (@nooges)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00, k01, k02, k03 \
-) { \
- { k00, k01, k02, k03 }, \
-}
diff --git a/keyboards/keebio/bamfk4/info.json b/keyboards/keebio/bamfk4/info.json
index cb4728ae34..97316b8ce5 100644
--- a/keyboards/keebio/bamfk4/info.json
+++ b/keyboards/keebio/bamfk4/info.json
@@ -18,10 +18,10 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x": 0, "y": 0, "w": 2, "h": 2},
- {"x": 2, "y": 0, "w": 2, "h": 2},
- {"x": 4, "y": 0, "w": 2, "h": 2},
- {"x": 6, "y": 0, "w": 2, "h": 2}
+ {"matrix": [0, 0], "x": 0, "y": 0, "w": 2, "h": 2},
+ {"matrix": [0, 1], "x": 2, "y": 0, "w": 2, "h": 2},
+ {"matrix": [0, 2], "x": 4, "y": 0, "w": 2, "h": 2},
+ {"matrix": [0, 3], "x": 6, "y": 0, "w": 2, "h": 2}
]
}
}
diff --git a/keyboards/keebio/bigswitchseat/bigswitchseat.h b/keyboards/keebio/bigswitchseat/bigswitchseat.h
deleted file mode 100644
index 3f66c6bc3b..0000000000
--- a/keyboards/keebio/bigswitchseat/bigswitchseat.h
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2021 Danny Nguyen (@nooges)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00 \
-) { \
- { k00 } \
-}
diff --git a/keyboards/keebio/bigswitchseat/info.json b/keyboards/keebio/bigswitchseat/info.json
index 03301a75f1..f2fe9771ed 100644
--- a/keyboards/keebio/bigswitchseat/info.json
+++ b/keyboards/keebio/bigswitchseat/info.json
@@ -17,7 +17,9 @@
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
- "layout": [{"x": 0, "y": 0, "w": 4, "h": 4}]
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0, "w": 4, "h": 4}
+ ]
}
}
}