diff options
author | Joel Challis <[email protected]> | 2024-07-13 13:29:16 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-13 13:29:16 +0100 |
commit | f0807ea64f97c5d2af856d987a7a5088676b38ad (patch) | |
tree | 3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/handwired/split89 | |
parent | 26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff) | |
download | qmk_firmware-f0807ea64f97c5d2af856d987a7a5088676b38ad.tar.gz qmk_firmware-f0807ea64f97c5d2af856d987a7a5088676b38ad.zip |
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/handwired/split89')
-rw-r--r-- | keyboards/handwired/split89/config.h | 36 | ||||
-rw-r--r-- | keyboards/handwired/split89/keyboard.json | 3 |
2 files changed, 3 insertions, 36 deletions
diff --git a/keyboards/handwired/split89/config.h b/keyboards/handwired/split89/config.h deleted file mode 100644 index e12db37b97..0000000000 --- a/keyboards/handwired/split89/config.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2021 jurassic73 - -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 - -/* this will be tied to high (VCC with a 2k to 10k resistor) on the left keyboard half and tied to low (GND using a wire jumper only) on the right keyboard half. This allows a user to plug in a USB cable to either side and function correctly with or without a TRS/TRRS cable with a single hex file. */ -#define SPLIT_HAND_PIN D1 - -/* - * 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/handwired/split89/keyboard.json b/keyboards/handwired/split89/keyboard.json index d28953ab5f..029988b0ba 100644 --- a/keyboards/handwired/split89/keyboard.json +++ b/keyboards/handwired/split89/keyboard.json @@ -29,6 +29,9 @@ "diode_direction": "COL2ROW", "split": { "enabled": true, + "handedness": { + "pin": "D1" + }, "soft_serial_pin": "D0", "matrix_pins": { "right": { |