summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/stick
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-19 18:55:12 +1100
committerGitHub <noreply@github.com>2023-02-19 18:55:12 +1100
commite837a32b2b4d6eb96ffacad0022699d67c0f8f1e (patch)
treef5628f3adb0c1403aa919c909c6a768d2bee0588 /keyboards/keebio/stick
parent2222836f092ff52e0e93250ff91048cbb9071877 (diff)
Move layouts for direct_pins boards to data driven (#19872)
Diffstat (limited to 'keyboards/keebio/stick')
-rw-r--r--keyboards/keebio/stick/info.json24
-rw-r--r--keyboards/keebio/stick/stick.c2
-rw-r--r--keyboards/keebio/stick/stick.h26
3 files changed, 13 insertions, 39 deletions
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 <http://www.gnu.org/licenses/>.
*/
-#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 <danny@keeb.io>
-
-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( \
- A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 \
- ) { \
- {A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12} \
- }