diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-05 15:46:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 15:46:59 +1000 |
commit | 364c06d939134184838579d4e73880f8c2f83419 (patch) | |
tree | b54be2d8a9a7ca5913774390bb0772e927d6523a /keyboards/keebio/bamfk4 | |
parent | 06c5c028046adc0a5501f6ac51953640e2015020 (diff) |
Move small macropad-ish layouts to data driven (#20341)
Diffstat (limited to 'keyboards/keebio/bamfk4')
-rw-r--r-- | keyboards/keebio/bamfk4/bamfk4.c | 2 | ||||
-rw-r--r-- | keyboards/keebio/bamfk4/bamfk4.h | 12 | ||||
-rw-r--r-- | keyboards/keebio/bamfk4/info.json | 8 |
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} ] } } |