summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/bamfk4
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/bamfk4
parent06c5c028046adc0a5501f6ac51953640e2015020 (diff)
Move small macropad-ish layouts to data driven (#20341)
Diffstat (limited to 'keyboards/keebio/bamfk4')
-rw-r--r--keyboards/keebio/bamfk4/bamfk4.c2
-rw-r--r--keyboards/keebio/bamfk4/bamfk4.h12
-rw-r--r--keyboards/keebio/bamfk4/info.json8
3 files changed, 5 insertions, 17 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}
]
}
}