From f0807ea64f97c5d2af856d987a7a5088676b38ad Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 13 Jul 2024 13:29:16 +0100 Subject: Migrate SPLIT_HAND_PIN to json (#23924) --- keyboards/takashiski/otaku_split/rev1/config.h | 36 ---------------------- .../takashiski/otaku_split/rev1/keyboard.json | 3 ++ 2 files changed, 3 insertions(+), 36 deletions(-) delete mode 100644 keyboards/takashiski/otaku_split/rev1/config.h (limited to 'keyboards/takashiski') diff --git a/keyboards/takashiski/otaku_split/rev1/config.h b/keyboards/takashiski/otaku_split/rev1/config.h deleted file mode 100644 index 8bede1c421..0000000000 --- a/keyboards/takashiski/otaku_split/rev1/config.h +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2019 takashiski - -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 - -#define SPLIT_HAND_PIN D2 //fix pin. HIGH is left, LOW is right - -/* - * 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/takashiski/otaku_split/rev1/keyboard.json b/keyboards/takashiski/otaku_split/rev1/keyboard.json index 039838144f..d4195b5a90 100644 --- a/keyboards/takashiski/otaku_split/rev1/keyboard.json +++ b/keyboards/takashiski/otaku_split/rev1/keyboard.json @@ -29,6 +29,9 @@ "diode_direction": "COL2ROW", "split": { "enabled": true, + "handedness": { + "pin": "D2" + }, "soft_serial_pin": "D0", "matrix_pins": { "right": { -- cgit v1.2.3