summaryrefslogtreecommitdiff
path: root/keyboards/synthlabs
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/synthlabs
parent2222836f092ff52e0e93250ff91048cbb9071877 (diff)
Move layouts for direct_pins boards to data driven (#19872)
Diffstat (limited to 'keyboards/synthlabs')
-rw-r--r--keyboards/synthlabs/solo/solo.c2
-rw-r--r--keyboards/synthlabs/solo/solo.h41
2 files changed, 1 insertions, 42 deletions
diff --git a/keyboards/synthlabs/solo/solo.c b/keyboards/synthlabs/solo/solo.c
index b557a3505c..aca82c9ea3 100644
--- a/keyboards/synthlabs/solo/solo.c
+++ b/keyboards/synthlabs/solo/solo.c
@@ -1,7 +1,7 @@
// Copyright 2022 Aaron Hong (@hongaaronc)
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "solo.h"
+#include "quantum.h"
#if !defined(VIA_ENABLE) && !defined(JOYSTICK_ENABLE) && defined(ENCODER_ENABLE)
bool encoder_update_kb(uint8_t index, bool clockwise) {
diff --git a/keyboards/synthlabs/solo/solo.h b/keyboards/synthlabs/solo/solo.h
deleted file mode 100644
index c487446a49..0000000000
--- a/keyboards/synthlabs/solo/solo.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2022 Aaron Hong (@hongaaronc)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "quantum.h"
-
-#define XXX KC_NO
-
-// This a shortcut to help you visually see your layout.
-// The first section contains all of the arguments
-// The second converts the arguments into a two-dimensional array
-#define LAYOUT_all( \
- k00, k01, k02, k03, k04, k05, k06, \
- k10, k11, k12, \
- k20, k21, k22, k23, k24, k25, k26 \
-) { \
- { k00, k01, k02, k03, k04, k05, k06 }, \
- { k10, k11, k12, XXX, XXX, XXX, XXX }, \
- { k20, k21, k22, k23, k24, k25, k26 } \
-}
-
-#define LAYOUT_left( \
- k01, k03, k05, \
- k10, k11, k12, \
- k20, k22, k24, k26 \
-) { \
- { XXX, k01, XXX, k03, XXX, k05, XXX }, \
- { k10, k11, k12, XXX, XXX, XXX, XXX }, \
- { k20, XXX, k22, XXX, k24, XXX, k26 } \
-}
-
-#define LAYOUT_right( \
- k25, k23, k21, \
- k10, k11, k12, \
- k06, k04, k02, k00 \
-) { \
- { k00, XXX, k02, XXX, k04, XXX, k06 }, \
- { k10, k11, k12, XXX, XXX, XXX, XXX }, \
- { XXX, k21, XXX, k23, XXX, k25, XXX } \
-}