From e837a32b2b4d6eb96ffacad0022699d67c0f8f1e Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 19 Feb 2023 18:55:12 +1100 Subject: Move layouts for direct_pins boards to data driven (#19872) --- keyboards/keebio/stick/info.json | 24 ++++++++++++------------ keyboards/keebio/stick/stick.c | 2 +- keyboards/keebio/stick/stick.h | 26 -------------------------- 3 files changed, 13 insertions(+), 39 deletions(-) delete mode 100644 keyboards/keebio/stick/stick.h (limited to 'keyboards/keebio/stick') diff --git a/keyboards/keebio/stick/info.json b/keyboards/keebio/stick/info.json index ff91ee9f24..268e56032d 100644 --- a/keyboards/keebio/stick/info.json +++ b/keyboards/keebio/stick/info.json @@ -18,18 +18,18 @@ "layouts": { "LAYOUT": { "layout": [ - { "label": "F1", "x": 0, "y": 0 }, - { "label": "F2", "x": 1, "y": 0 }, - { "label": "F3", "x": 2, "y": 0 }, - { "label": "F4", "x": 3, "y": 0 }, - { "label": "F5", "x": 4, "y": 0 }, - { "label": "F6", "x": 5, "y": 0 }, - { "label": "F7", "x": 6, "y": 0 }, - { "label": "F8", "x": 7, "y": 0 }, - { "label": "F9", "x": 8, "y": 0 }, - { "label": "F10", "x": 9, "y": 0 }, - { "label": "F11", "x": 10, "y": 0 }, - { "label": "F12", "x": 11, "y": 0 } + { "x": 0, "y": 0, "matrix": [0, 0] }, + { "x": 1, "y": 0, "matrix": [0, 1] }, + { "x": 2, "y": 0, "matrix": [0, 2] }, + { "x": 3, "y": 0, "matrix": [0, 3] }, + { "x": 4, "y": 0, "matrix": [0, 4] }, + { "x": 5, "y": 0, "matrix": [0, 5] }, + { "x": 6, "y": 0, "matrix": [0, 6] }, + { "x": 7, "y": 0, "matrix": [0, 7] }, + { "x": 8, "y": 0, "matrix": [0, 8] }, + { "x": 9, "y": 0, "matrix": [0, 9] }, + { "x": 10, "y": 0, "matrix": [0, 10] }, + { "x": 11, "y": 0, "matrix": [0, 11] } ] } } diff --git a/keyboards/keebio/stick/stick.c b/keyboards/keebio/stick/stick.c index 8db839de3b..6fac145091 100644 --- a/keyboards/keebio/stick/stick.c +++ b/keyboards/keebio/stick/stick.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "stick.h" +#include "quantum.h" #ifdef RGB_MATRIX_ENABLE led_config_t g_led_config = { { diff --git a/keyboards/keebio/stick/stick.h b/keyboards/keebio/stick/stick.h deleted file mode 100644 index 758d7d5b97..0000000000 --- a/keyboards/keebio/stick/stick.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2021 Danny Nguyen - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 \ - ) { \ - {A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12} \ - } -- cgit v1.2.3