diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-19 18:55:12 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 18:55:12 +1100 |
commit | e837a32b2b4d6eb96ffacad0022699d67c0f8f1e (patch) | |
tree | f5628f3adb0c1403aa919c909c6a768d2bee0588 /keyboards/yatara | |
parent | 2222836f092ff52e0e93250ff91048cbb9071877 (diff) |
Move layouts for direct_pins boards to data driven (#19872)
Diffstat (limited to 'keyboards/yatara')
-rw-r--r-- | keyboards/yatara/drink_me/drink_me.c | 17 | ||||
-rw-r--r-- | keyboards/yatara/drink_me/drink_me.h | 25 | ||||
-rw-r--r-- | keyboards/yatara/drink_me/info.json | 24 |
3 files changed, 4 insertions, 62 deletions
diff --git a/keyboards/yatara/drink_me/drink_me.c b/keyboards/yatara/drink_me/drink_me.c deleted file mode 100644 index d5cac311ae..0000000000 --- a/keyboards/yatara/drink_me/drink_me.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2020 Yatara - * - * 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 <http://www.gnu.org/licenses/>. - */ - -#include "drink_me.h" diff --git a/keyboards/yatara/drink_me/drink_me.h b/keyboards/yatara/drink_me/drink_me.h deleted file mode 100644 index 9ed6dbf2ea..0000000000 --- a/keyboards/yatara/drink_me/drink_me.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2020 Yatara - * - * 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 <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - K00, K01, K02, K03 \ -) { \ - { K00, K01, K02, K03 } \ -} diff --git a/keyboards/yatara/drink_me/info.json b/keyboards/yatara/drink_me/info.json index 3df62cf378..78838f143a 100644 --- a/keyboards/yatara/drink_me/info.json +++ b/keyboards/yatara/drink_me/info.json @@ -18,26 +18,10 @@ "layouts": { "LAYOUT": { "layout": [ - { - "label": "K0", - "x": 0, - "y": 0 - }, - { - "label": "K1", - "x": 1, - "y": 0 - }, - { - "label": "K2", - "x": 2, - "y": 0 - }, - { - "label": "K3", - "x": 3, - "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]} ] } } |