aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/doppelganger
diff options
context:
space:
mode:
authorJoel Challis2024-07-13 14:29:16 +0200
committerGitHub2024-07-13 14:29:16 +0200
commitf0807ea64f97c5d2af856d987a7a5088676b38ad (patch)
tree3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/doppelganger
parent26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff)
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/doppelganger')
-rw-r--r--keyboards/doppelganger/config.h38
-rw-r--r--keyboards/doppelganger/keyboard.json3
2 files changed, 3 insertions, 38 deletions
diff --git a/keyboards/doppelganger/config.h b/keyboards/doppelganger/config.h
deleted file mode 100644
index 20a23ab6da..0000000000
--- a/keyboards/doppelganger/config.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-Copyright 2019 Yiancar-Designs
-
-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
-
-#define SPLIT_HAND_PIN D4
-
-// #define USE_I2C
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/doppelganger/keyboard.json b/keyboards/doppelganger/keyboard.json
index ccba77fdfa..f77597c990 100644
--- a/keyboards/doppelganger/keyboard.json
+++ b/keyboards/doppelganger/keyboard.json
@@ -19,6 +19,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
+ "handedness": {
+ "pin": "D4"
+ },
"soft_serial_pin": "D1",
"matrix_pins": {
"right": {