diff options
| author | Joel Challis | 2024-07-13 14:29:16 +0200 |
|---|---|---|
| committer | GitHub | 2024-07-13 14:29:16 +0200 |
| commit | f0807ea64f97c5d2af856d987a7a5088676b38ad (patch) | |
| tree | 3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/ai03 | |
| parent | 26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff) | |
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/ai03')
| -rw-r--r-- | keyboards/ai03/orbit/config.h | 38 | ||||
| -rw-r--r-- | keyboards/ai03/orbit/keyboard.json | 3 | ||||
| -rw-r--r-- | keyboards/ai03/orbit_x/config.h | 1 | ||||
| -rw-r--r-- | keyboards/ai03/orbit_x/keyboard.json | 3 |
4 files changed, 6 insertions, 39 deletions
diff --git a/keyboards/ai03/orbit/config.h b/keyboards/ai03/orbit/config.h deleted file mode 100644 index f3a4ae2db3..0000000000 --- a/keyboards/ai03/orbit/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2018 Ryota Goto - -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 SELECT_SOFT_SERIAL_SPEED 1 - -#define SPLIT_HAND_PIN D5 - -/* - * 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/ai03/orbit/keyboard.json b/keyboards/ai03/orbit/keyboard.json index ec30802812..a5a60c12b6 100644 --- a/keyboards/ai03/orbit/keyboard.json +++ b/keyboards/ai03/orbit/keyboard.json @@ -31,6 +31,9 @@ }, "split": { "enabled": true, + "handedness": { + "pin": "D5" + }, "soft_serial_pin": "D0", "matrix_pins": { "right": { diff --git a/keyboards/ai03/orbit_x/config.h b/keyboards/ai03/orbit_x/config.h index 2c63852cbe..8de0482312 100644 --- a/keyboards/ai03/orbit_x/config.h +++ b/keyboards/ai03/orbit_x/config.h @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define SPLIT_HAND_PIN D5 #define SPLIT_USB_DETECT #define SPLIT_USB_TIMEOUT 2500 diff --git a/keyboards/ai03/orbit_x/keyboard.json b/keyboards/ai03/orbit_x/keyboard.json index edfbbb2796..7323841219 100644 --- a/keyboards/ai03/orbit_x/keyboard.json +++ b/keyboards/ai03/orbit_x/keyboard.json @@ -28,6 +28,9 @@ "diode_direction": "COL2ROW", "split": { "enabled": true, + "handedness": { + "pin": "D5" + }, "soft_serial_pin": "D0", "matrix_pins": { "right": { |