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 | |
parent | 06c5c028046adc0a5501f6ac51953640e2015020 (diff) |
Move small macropad-ish layouts to data driven (#20341)
Diffstat (limited to 'keyboards/keebio')
-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 | ||||
-rw-r--r-- | keyboards/keebio/bigswitchseat/bigswitchseat.h | 12 | ||||
-rw-r--r-- | keyboards/keebio/bigswitchseat/info.json | 4 |
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} + ] } } } |